Firebase class Null safety

The entry point for accessing Firebase.

Properties

hashCode int
The hash code for this object.
read-only, override
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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

Static Properties

apps List<FirebaseApp>
Returns a list of all FirebaseApp instances that have been created.
read-only
delegatePackingProperty FirebasePlatform?
@visibleForTesting, read / write

Static Methods

app([String name = defaultFirebaseAppName]) FirebaseApp
Returns a FirebaseApp instance.
initializeApp({String? name, FirebaseOptions? options}) Future<FirebaseApp>
Initializes a new FirebaseApp instance by name and options and returns the created app. This method should be called before any usage of FlutterFire plugins.