firebaseFunctionCallable static method
Implementation
static HttpsCallable firebaseFunctionCallable(String name) {
if (!isFirebaseInitialized) {
throw StateError(
'Cannot create Firebase function callable "$name" - Firebase is not initialized. '
'Call appInitFirebase() first.',
);
}
return FirebaseFunctions.instanceFor(
app: firebaseApp,
region: backendRegion,
).httpsCallable(
name,
options: firebaseFunctionCallableOptions,
);
}