GetWebAppConfigResult class
Result data returned by getWebAppConfig.
Constructors
- GetWebAppConfigResult({String? apiKey, String? authDomain, String? databaseUrl, String? id, String? locationId, String? measurementId, String? messagingSenderId, String? project, String? storageBucket, String? webAppId})
-
Creates a new GetWebAppConfigResult.
apiKeyThe API key associated with the web App.authDomainThe domain Firebase Auth configures for OAuth redirects, in the format:databaseUrlThe default Firebase Realtime Database URL.idOptional.locationIdThe ID of the project's default GCP resource location. The location is one of the available GCP resourcemeasurementIdThe unique Google-assigned identifier of the Google Analytics web stream associated with the Firebase Web App.messagingSenderIdThe sender ID for use with Firebase Cloud Messaging.projectOptional.storageBucketThe default Cloud Storage for Firebase storage bucket name.webAppIdOptional.const -
GetWebAppConfigResult.fromMap(Map<
String, dynamic> map) -
factory
Properties
- apiKey → String?
-
The API key associated with the web App.
final
- authDomain → String?
-
The domain Firebase Auth configures for OAuth redirects, in the format:
projectId.firebaseapp.com
final
- databaseUrl → String?
-
The default Firebase Realtime Database URL.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
final
- locationId → String?
-
The ID of the project's default GCP resource location. The location is one of the available GCP resource
locations.
This field is omitted if the default GCP resource location has not been finalized yet. To set your project's
default GCP resource location, call defaultLocation.finalize after you add Firebase services to your project.
final
- measurementId → String?
-
The unique Google-assigned identifier of the Google Analytics web stream associated with the Firebase Web App.
Firebase SDKs use this ID to interact with Google Analytics APIs.
This field is only present if the App is linked to a web stream in a Google Analytics App + Web property.
Learn more about this ID and Google Analytics web streams in the Analytics documentation.
To generate a measurementId and link the Web App with a Google Analytics web stream,
call projects.addGoogleAnalytics.
final
- messagingSenderId → String?
-
The sender ID for use with Firebase Cloud Messaging.
final
- project → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- storageBucket → String?
-
The default Cloud Storage for Firebase storage bucket name.
final
- webAppId → String?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited