OtpAuthenticator class

Inheritance

Constructors

OtpAuthenticator({required String token, required String smsCode, OtpType type = OtpType.phone, String? email, String? id = "", int? timeMills, String? name, String? phone, String? photo, String? provider, String? username, Map<String, dynamic>? extra})

Properties

accessToken String?
finalinherited
biometric String?
finalinherited
credential → AuthCredential
no setter
email String?
finalinherited
extra Map<String, dynamic>?
finalinherited
hashCode int
The hash code for this object.
no setterinherited
id String
The unique identifier of the entity.
getter/setter pairinherited
idInt int
The unique identifier of the entity as an integer.
no setterinherited
idToken String?
finalinherited
isBiometric bool
no setterinherited
isCurrentUid bool
no setterinherited
isLoggedIn bool
no setterinherited
isVerified bool
no setterinherited
key AuthKeys
The key associated with the entity.
no setterinherited
lastLoggedInDate DateTime
no setterinherited
lastLoggedInTime Duration
no setterinherited
lastLoggedOutDate DateTime
no setterinherited
lastLoggedOutTime Duration
no setterinherited
loggedIn bool?
finalinherited
loggedInTime int?
finalinherited
loggedOutTime int?
finalinherited
mBiometric BiometricStatus
no setterinherited
mProvider AuthProviders
no setterinherited
name String?
finalinherited
password String?
finalinherited
phone String?
finalinherited
photo String?
finalinherited
provider String?
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
smsCode String
no setter
source Map<String, dynamic>
Returns the entity as a map.
no setterinherited
timeMills int
The timestamp associated with the entity.
getter/setter pairinherited
token String
no setter
type OtpType
final
username String?
finalinherited
verified bool?
finalinherited

Methods

copy({String? id, int? timeMills, String? accessToken, String? biometric, String? email, Map<String, dynamic>? extra, String? idToken, bool? loggedIn, int? loggedInTime, int? loggedOutTime, String? name, String? password, String? phone, String? photo, String? provider, String? username, bool? verified}) Auth<AuthKeys>
inherited
isInsertable(String key, dynamic value) bool
inherited
makeKey() AuthKeys
Constructs the key for the entity.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
Returns a string representation of the source map.
inherited

Operators

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