cloudFunctionsInstance function
- @Riverpod(keepAlive: true)
- dynamic ref
A provider for the Firebase Functions instance.
This provider is used to provide the Firebase Functions instance to the CloudFunctionService class. It is used to interact with Firebase Functions.
Implementation
@Riverpod(keepAlive: true)
FirebaseFunctions cloudFunctionsInstance(CloudFunctionsInstanceRef ref) =>
FirebaseFunctions.instanceFor(region: 'europe-west1');