LinkEmailRequest class abstract

Implemented types

Constructors

LinkEmailRequest({required String idToken, required String email, required String password, bool returnSecureToken})
const
factory
LinkEmailRequest.fromJson(Map<String, dynamic> json)
factory

Properties

copyWith → _$$LinkEmailRequestCopyWith<_$LinkEmailRequest>
no setter
email String
The email to link to the account.
no setter
hashCode int
The hash code for this object.
no setterinherited
idToken String
The Firebase ID token of the account you are trying to link the credential to.
no setter
password String
The new password of the account.
no setter
returnSecureToken bool
Whether or not to return an ID and refresh token. Should always be true.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

map<TResult extends Object?>({required TResult confirmEmail(ConfirmEmailRequest value), required TResult email(EmailUpdateRequest value), required TResult password(PasswordUpdateRequest value), required TResult profile(ProfileUpdateRequest value), required TResult linkEmail(LinkEmailRequest value), required TResult unlink(UnlinkRequest value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? confirmEmail(ConfirmEmailRequest value)?, TResult? email(EmailUpdateRequest value)?, TResult? password(PasswordUpdateRequest value)?, TResult? profile(ProfileUpdateRequest value)?, TResult? linkEmail(LinkEmailRequest value)?, TResult? unlink(UnlinkRequest value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult confirmEmail(ConfirmEmailRequest value)?, TResult email(EmailUpdateRequest value)?, TResult password(PasswordUpdateRequest value)?, TResult profile(ProfileUpdateRequest value)?, TResult linkEmail(LinkEmailRequest value)?, TResult unlink(UnlinkRequest value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult confirmEmail(String oobCode)?, TResult email(String idToken, String email, bool returnSecureToken)?, TResult password(String idToken, String password, bool returnSecureToken)?, TResult profile(String idToken, String? displayName, Uri? photoUrl, List<DeleteAttribute> deleteAttribute, bool returnSecureToken)?, TResult linkEmail(String idToken, String email, String password, bool returnSecureToken)?, TResult unlink(String idToken, List<String> deleteProvider)?, required TResult orElse()}) → TResult
inherited
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
when<TResult extends Object?>({required TResult confirmEmail(String oobCode), required TResult email(String idToken, String email, bool returnSecureToken), required TResult password(String idToken, String password, bool returnSecureToken), required TResult profile(String idToken, String? displayName, Uri? photoUrl, List<DeleteAttribute> deleteAttribute, bool returnSecureToken), required TResult linkEmail(String idToken, String email, String password, bool returnSecureToken), required TResult unlink(String idToken, List<String> deleteProvider)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? confirmEmail(String oobCode)?, TResult? email(String idToken, String email, bool returnSecureToken)?, TResult? password(String idToken, String password, bool returnSecureToken)?, TResult? profile(String idToken, String? displayName, Uri? photoUrl, List<DeleteAttribute> deleteAttribute, bool returnSecureToken)?, TResult? linkEmail(String idToken, String email, String password, bool returnSecureToken)?, TResult? unlink(String idToken, List<String> deleteProvider)?}) → TResult?
inherited

Operators

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