FirebaseFunctions class

A FirebaseFunctions instance that provides an httpsCallable interface for accessing the Firebase Functions API.

Constructors

FirebaseFunctions({required FirebaseApp app, String region = defaultRegion})
Creates Firebase Functions
FirebaseFunctions.instanceFor({FirebaseApp? app, String region = defaultRegion})
Gets the FirebaseFunctions instance for the given app and region.
factory

Properties

app → FirebaseApp
The FirebaseApp instance used to create this FirebaseFunctions instance.
final
hashCode int
The hash code for this object.
no setterinherited
region String
The region to use for accessing functions
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

httpsCallable(String name, {HttpsCallableOptions options = HttpsCallableOptions.defaultOptions}) HttpsCallable
Creates an HttpsCallable instance to access a particular cloud function
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setApiClient(Client client) → void
Sets the Http Client used for making request for testing
toString() String
A string representation of this object.
inherited
useFunctionsEmulator(String host, int port) → void
Enables the functions emulator

Operators

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

Static Properties

instance FirebaseFunctions
Gets the FirebaseFunctions instance for the default app
no setter

Constants

defaultRegion → const String
The default region to use for the Firebase Functions API.