FirebaseFunctions class

The entry point for accessing FirebaseFunctions.

You can get an instance by calling FirebaseFunctions.instance.

Inheritance
  • Object
  • PlatformInterface
  • FirebasePluginPlatform
  • FirebaseFunctions

Properties

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.
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) → 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.