AnonymousSignInRequest class abstract

Implemented types

Constructors

AnonymousSignInRequest({bool returnSecureToken})
const
factory
AnonymousSignInRequest.fromJson(Map<String, dynamic> json)
factory

Properties

copyWith → _$$AnonymousSignInRequestCopyWith<_$AnonymousSignInRequest>
no setter
hashCode int
The hash code for this object.
no setterinherited
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 anonymous(AnonymousSignInRequest value), required TResult idp(IdpSignInRequest value), required TResult password(PasswordSignInRequest value), required TResult customToken(CustomTokenSignInRequest value), required TResult linkIdp(LinkIdpRequest value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? anonymous(AnonymousSignInRequest value)?, TResult? idp(IdpSignInRequest value)?, TResult? password(PasswordSignInRequest value)?, TResult? customToken(CustomTokenSignInRequest value)?, TResult? linkIdp(LinkIdpRequest value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult anonymous(AnonymousSignInRequest value)?, TResult idp(IdpSignInRequest value)?, TResult password(PasswordSignInRequest value)?, TResult customToken(CustomTokenSignInRequest value)?, TResult linkIdp(LinkIdpRequest value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult anonymous(bool returnSecureToken)?, TResult idp(Uri requestUri, String postBody, bool returnSecureToken, bool returnIdpCredential)?, TResult password(String email, String password, bool returnSecureToken)?, TResult customToken(String token, bool returnSecureToken)?, TResult linkIdp(String idToken, Uri requestUri, String postBody, bool returnSecureToken, bool returnIdpCredential)?, 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 anonymous(bool returnSecureToken), required TResult idp(Uri requestUri, String postBody, bool returnSecureToken, bool returnIdpCredential), required TResult password(String email, String password, bool returnSecureToken), required TResult customToken(String token, bool returnSecureToken), required TResult linkIdp(String idToken, Uri requestUri, String postBody, bool returnSecureToken, bool returnIdpCredential)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? anonymous(bool returnSecureToken)?, TResult? idp(Uri requestUri, String postBody, bool returnSecureToken, bool returnIdpCredential)?, TResult? password(String email, String password, bool returnSecureToken)?, TResult? customToken(String token, bool returnSecureToken)?, TResult? linkIdp(String idToken, Uri requestUri, String postBody, bool returnSecureToken, bool returnIdpCredential)?}) → TResult?
inherited

Operators

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