FirebaseEndPoint class

Specify a Google Firebase endpoint.

Annotations
  • @JsonSerializable(fieldRename: FieldRename.snake, includeIfNull: false)

Constructors

FirebaseEndPoint({required String name, required String uri, required String firebaseAuthenticationMethod, String? email, String? password, String? token, required String projectID, required String webAPIKey, required String androidGoogleAppID, required String iOSGoogleAppID, required String gcmSenderID})
Creates a FirebaseEndPoint.
FirebaseEndPoint.fromJson(Map<String, dynamic> json)
factory

Properties

androidGoogleAppID String
The Firebase App ID for Android. Should be set up in the Firebase project settings.
getter/setter pair
email String?
Email (used as username) if using password authentication.
getter/setter pair
firebaseAuthenticationMethod String
The authentization method used for Firebase. See FireBaseAuthenticationMethods for options.
getter/setter pair
gcmSenderID String
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
iOSGoogleAppID String
The Firebase App ID for iOS. Should be set up in the Firebase project settings.
getter/setter pair
name String
The name of the Firebase endpoint. Can be anything, but its recommended to name it according to the Firebase bucket.
getter/setter pair
password String?
Password if using password authentication.
getter/setter pair
projectID String
The Firebase project ID (not the Name!). See Firebase project settings for this ID.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
token String?
Custom token, if using custom auth system integration.
getter/setter pair
uri String
The URI of the Firebase endpoint.
getter/setter pair
webAPIKey String
The Firebase Web API Key. See Firebase project settings for this ID.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

fromJsonFunction Function
no setter