FirebaseApp class

Represents a single Firebase app instance.

You can get an instance by calling Firebase.app().

Properties

hashCode int
The hash code for this object. [...]
read-only, override
isAutomaticDataCollectionEnabled bool
Returns whether automatic data collection is enabled or disabled for this app. [...]
read-only
name String
The name of this FirebaseApp.
read-only
options FirebaseOptions
The FirebaseOptions this app was created with.
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

delete() Future<void>
Deletes this app and frees up system resources. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
setAutomaticDataCollectionEnabled(bool enabled) Future<void>
Sets whether automatic data collection is enabled or disabled for this app. [...]
setAutomaticResourceManagementEnabled(bool enabled) Future<void>
Sets whether automatic resource management is enabled or disabled for this app.
toString() String
Returns a string representation of this object.
override

Operators

operator ==(dynamic other) bool
The equality operator. [...]
override

Static Properties

defaultAppName String
@Deprecated("Deprecated in favor of defaultFirebaseAppName"), read-only
instance FirebaseApp
@Deprecated("Deprecated in favor of Firebase.app()"), read-only

Static Methods

allApps() Future<List<FirebaseApp>>
@Deprecated("Deprecated in favor of Firebase.apps")
appNamed(String name) FirebaseApp
@Deprecated("Deprecated in favor of Firebase.app()")
configure({String name, FirebaseOptions options}) Future<FirebaseApp>
@Deprecated("Deprecated in favor of Firebase.initializeApp()")