GoogleServicesConfig class
The four values initDatabase needs, plus the bucket for later use.
Constructors
Properties
- apiKey → String
-
final
- appId → String
-
final
- databaseUrl → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- messagingSenderId → String?
-
The project number, which is what Firebase calls the messaging sender id.
Unused by the C++ SDK on desktop, but
FirebaseOptionsrequires it, and the console writes it — so it is carried rather than invented.final - projectId → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- storageBucket → String?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
load(
[String? path]) → GoogleServicesConfig -
Parses
path, or the default location. -
parse(
String text, {String source = '<memory>'}) → GoogleServicesConfig -
resolvePath(
[String? path]) → String
Constants
- defaultFileName → const String
- envVar → const String
- Where to look when no path is given: the environment variable first, then the working directory, which for a deployed bundle is the bundle root.