UpdateResponse class sealed
Meta-Class for multiple API-Endpoints
- Implementers
- Annotations
-
- @freezed
Constructors
-
UpdateResponse.confirmEmail({String? email, String? displayName, Uri? photoUrl, String? passwordHash, @Default(<ProviderUserInfo>[]) List<
ProviderUserInfo> providerUserInfo, @Default(false) bool emailVerified}) -
https://firebase.google.com/docs/reference/rest/auth#section-confirm-email-verification
constfactory
-
UpdateResponse.email({required String localId, String? email, String? passwordHash, @Default(<ProviderUserInfo>[]) List<
ProviderUserInfo> providerUserInfo, String? idToken, String? refreshToken, String? expiresIn}) -
https://firebase.google.com/docs/reference/rest/auth#section-change-email
constfactory
-
UpdateResponse.fromJson(Map<
String, dynamic> json) -
JSON constructor
factory
-
UpdateResponse.linkEmail({required String localId, String? email, String? displayName, Uri? photoUrl, String? passwordHash, @Default(<ProviderUserInfo>[]) List<
ProviderUserInfo> providerUserInfo, @Default(false) bool emailVerified, String? idToken, String? refreshToken, String? expiresIn}) -
https://firebase.google.com/docs/reference/rest/auth#section-link-with-email-password
constfactory
-
UpdateResponse.password({required String localId, String? email, String? passwordHash, @Default(<ProviderUserInfo>[]) List<
ProviderUserInfo> providerUserInfo, String? idToken, String? refreshToken, String? expiresIn}) -
https://firebase.google.com/docs/reference/rest/auth#section-change-password
constfactory
-
UpdateResponse.profile({required String localId, String? email, String? displayName, Uri? photoUrl, String? passwordHash, @Default(<ProviderUserInfo>[]) List<
ProviderUserInfo> providerUserInfo, String? idToken, String? refreshToken, String? expiresIn}) -
https://firebase.google.com/docs/reference/rest/auth#section-update-profile
constfactory
-
UpdateResponse.unlink({required String localId, String? email, String? displayName, Uri? photoUrl, String? passwordHash, @Default(<ProviderUserInfo>[]) List<
ProviderUserInfo> providerUserInfo, @Default(false) bool emailVerified}) -
https://firebase.google.com/docs/reference/rest/auth#section-unlink-provider
constfactory
Properties
-
copyWith
→ $UpdateResponseCopyWith<
UpdateResponse> -
no setterinherited
- email → String?
-
The email of the account.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- passwordHash → String?
-
The password hash.
no setterinherited
-
providerUserInfo
→ List<
ProviderUserInfo> -
List of all linked ProviderUserInfos.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited