UpdateResponse class sealed

Meta-Class for multiple API-Endpoints

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
const
factory
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
const
factory
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
const
factory
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
const
factory
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
const
factory
https://firebase.google.com/docs/reference/rest/auth#section-unlink-provider
const
factory

Properties

copyWith → $UpdateResponseCopyWith<UpdateResponse>
Create a copy of UpdateResponse with the given fields replaced by the non-null parameter values.
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>
Serializes this UpdateResponse to a JSON map.
inherited
toString() String
A string representation of this object.
inherited

Operators

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