FirebaseApp class

Constructors

FirebaseApp({@required String name})
const

Properties

hashCode int
The hash code for this object. [...]
read-only, override
name String
The name of this app.
final
options Future<FirebaseOptions>
A copy of the options for this app. These are non-modifiable. [...]
read-only
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
Returns a string representation of this object.
override

Operators

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

Static Properties

defaultAppName String
final
instance FirebaseApp
Returns the default (first initialized) instance of the FirebaseApp.
final

Static Methods

allApps() Future<List<FirebaseApp>>
Returns a list of all extant FirebaseApp instances, or null if there are no FirebaseApp instances.
appNamed(String name) Future<FirebaseApp>
Returns a previously created FirebaseApp instance with the given name, or null if no such app exists.
configure({String name, FirebaseOptions options}) Future<FirebaseApp>
Configures an app with the given name and options. [...]

Constants

channel → const MethodChannel
const MethodChannel('plugins.flutter.io/firebase_core')