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 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
- currentPlatform → FirebaseOptions
-
Returns the default FirebaseOptions for the current platform.
read-only
Constants
- android → const FirebaseOptions
-
Default Firebase options for the Android platform.
FirebaseOptions(apiKey: 'AIzaSyDRokDOwwkdIn2bBJYpOCtJ7A8vXpWtrp0', appId: '1:954020304851:android:e5d582309dd1d6f0a00126', messagingSenderId: '954020304851', projectId: 'to…
- ios → const FirebaseOptions
-
Default Firebase options for the iOS platform.
FirebaseOptions(apiKey: 'AIzaSyBQAtGCkN3UzYAr-BHoexee-b391rBoZ3A', appId: '1:954020304851:ios:dda2b3eecacf8f4da00126', messagingSenderId: '954020304851', projectId: 'tomato…
- macos → const FirebaseOptions
-
Default Firebase options for the macOS platform.
FirebaseOptions(apiKey: 'AIzaSyBQAtGCkN3UzYAr-BHoexee-b391rBoZ3A', appId: '1:954020304851:ios:dda2b3eecacf8f4da00126', messagingSenderId: '954020304851', projectId: 'tomato…
- web → const FirebaseOptions
-
Default Firebase options for the web platform.
FirebaseOptions(apiKey: 'AIzaSyA5iFrVFIvmv19OQSHTdqLyhfOCBOShS9A', appId: '1:954020304851:web:4082b8f030ce388fa00126', messagingSenderId: '954020304851', projectId: 'tomato…