FirebaseAdmin class

Provides access to Firebase Admin APIs.

To start using Firebase services initialize a Firebase application with initializeApp method.

Available Extensions

Properties

apps List<App>
Returns an array of all the non-deleted FirebaseApp instances.
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

app([String appName = defaultAppName]) App?
Returns the FirebaseApp instance with the provided name (or the default FirebaseApp instance if no name is provided).
cert({required String projectId, required String clientEmail, required String privateKey}) Credential
Creates App certificate.
certFromMap(Map<String, dynamic> path) Credential
Creates app certificate from service account Map
initializeApp([AppOptions? options, String name = defaultAppName]) App
Creates and initializes a Firebase App instance with the given options and name.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance FirebaseAdmin
final

Constants

defaultAppName → const String
firebaseConfigVar → const String