DefaultFirebaseOptions class
Default FirebaseOptions for use with your Firebase apps.
Example:
import 'firebase_options.dart';
// ...
await Firebase.initializeApp(
options: DefaultFirebaseOptions.currentPlatform,
);
Constructors
Properties
hashCode → int
The hash code for this object.
read-onlyinherited
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited
Methods
noSuchMethod(Invocation invocation) dynamic
Invoked when a non-existent 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 Methods
android(Map<String, dynamic> androidFirebaseOptions) FirebaseOptions
Scaffolds androidFirebaseOptions around FirebaseOptions.
currentPlatform(Map<String, dynamic> androidFirebaseOptions, Map<String, dynamic> iosFirebaseOptions) FirebaseOptions
Builds and returns FirebaseOptions based on the current platform.
ios(Map<String, dynamic> iosFirebaseOptions) FirebaseOptions
Scaffolds iosFirebaseOptions around FirebaseOptions.