firebaseFunctionCallable static method

HttpsCallable firebaseFunctionCallable(
  1. String name
)

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,
  );
}