firebase_functions_dart library

Support for Firebase authentication methods with pure dart implmentation.

Classes

FirebaseFunctions
A FirebaseFunctions instance that provides an httpsCallable interface for accessing the Firebase Functions API.
HttpsCallable
A HttpsCallable instance that lets you call a cloud function.
HttpsCallableOptions
Options for configuring the behavior of a firebase cloud function
HttpsCallableResult<T>
The result of calling a HttpsCallable function.

Functions

codeForHTTPStatus(int status) String
Takes an HTTP status code and returns the corresponding ErrorCode. This is the standard HTTP status code -> error mapping defined in: https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto

Exceptions / Errors

FirebaseFunctionsException
Generic exception related to Cloud Functions. Check the error code and message for more details.