FirebaseFunctions class

The entry point for accessing FirebaseFunctions.

You can get an instance by calling FirebaseFunctions.instance.

Inheritance
  • Object
  • FirebasePlugin
  • FirebaseFunctions

Properties

allowInsecureTokenAttachment ↔ bool
Whether Auth, FCM, and App Check tokens may be sent over plain HTTP to a non-loopback host.
getter/setter pair
app → FirebaseApp
The FirebaseApp for this current FirebaseFunctions instance.
final
delegate → FirebaseFunctionsPlatform
Returns the underlying FirebaseFunctionsPlatform delegate for this FirebaseFunctions instance. This is useful for testing purposes only.
no setter
hashCode → int
The hash code for this object.
no setterinherited
pluginConstants → Map
Returns any plugin constants this plugin app instance has initialized.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

httpsCallable(String name, {HttpsCallableOptions? options}) → HttpsCallable
A reference to the Callable HTTPS trigger with the given name.
httpsCallableFromUri(Uri uri, {HttpsCallableOptions? options}) → HttpsCallable
A reference to the Callable HTTPS trigger with the given Uri.
httpsCallableFromUrl(String url, {HttpsCallableOptions? options}) → HttpsCallable
A reference to the Callable HTTPS trigger with the given URL.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
useFunctionsEmulator(String host, int port, {bool automaticHostMapping = true}) → void
Changes this instance to point to a Cloud Functions emulator running locally.

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Properties

instance → FirebaseFunctions
Returns an instance using the default FirebaseApp and region.
no setter

Static Methods

instanceFor({FirebaseApp? app, String? region}) → FirebaseFunctions
Returns an instance using a specified FirebaseApp & region.