FirebaseAdmin class
Provides access to Firebase Admin APIs.
To start using Firebase services initialize a Firebase application with initializeApp method.
- Available extensions
Properties
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
andname
. -
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