PhoneAuthenticator class

Inheritance

Constructors

PhoneAuthenticator({required String phone, String? token, String? id = "", int? timeMills, String? email, String? name, String? photo, String? username, Map<String, dynamic>? extra})

Properties

accessToken → String?
finalinherited
biometric → BiometricStatus
no setterinherited
dateTime → DateTime
The timestamp as a DateTime object
no setterinherited
dateTimeOrNull → DateTime?
The timestamp as a DateTime object, or null if invalid
no setterinherited
email → String?
finalinherited
extra → Map<String, dynamic>?
finalinherited
filtered → Map<String, dynamic>
Returns the entity as a map with only insertable fields
no setterinherited
filteredJson → String
Returns the filtered entity as a JSON string
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
id → String
The unique identifier of the entity as a string
no setterinherited
idInt → int
The unique identifier of the entity as an integer
no setterinherited
idOrNull → String?
finalinherited
idToken → String?
finalinherited
ignoredKeys → Iterable<String>
Returns keys that are ignored (not insertable)
no setterinherited
isAuthenticated → bool
no setterinherited
isBiometric → bool
no setterinherited
isCurrentUid → bool
no setterinherited
isLoggedIn → bool
no setterinherited
isVerified → bool
no setterinherited
json → String
Returns the entity as a JSON string
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
name → String?
finalinherited
password → String?
finalinherited
phone → String
no setteroverride
photo → String?
finalinherited
props → Iterable<Object?>
no setterinherited
provider → AuthProviders?
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
source → Map<String, dynamic>
Returns the entity as a map with all fields
no setterinherited
timeMills → int
The timestamp in milliseconds since epoch
no setterinherited
timeMillsOrNull → int?
finalinherited
username → String?
finalinherited
verified → bool?
finalinherited

Methods

copy({String? id, int? timeMills, String? accessToken, BiometricStatus? biometric, String? email, Map<String, dynamic>? extra, String? idToken, bool? loggedIn, int? loggedInTime, int? loggedOutTime, String? name, String? password, String? phone, String? photo, AuthProviders? provider, String? username, bool? verified}) → Auth<AuthKeys>
inherited
equals(Object? e1, Object? e2) → bool
Compare two elements for being equal.
inherited
hash(Object? o) → int
Creates a combined hash code for a number of objects.
inherited
isInsertable(String key, dynamic value) → bool
Checks if a field is insertable (valid key and non-null value)
inherited
isValidKey(Object? o) → bool
Test whether an object is a valid argument to equals and hash.
inherited
iterableEquals<T>(Iterable<T> a, Iterable<T> b, {bool unordered = false, bool equals(T a, T b)?}) → bool
inherited
makeKey() → AuthKeys
Constructs the key for the entity.
inherited
modify<T extends Object>(Modifier<T>? current, T? old) → T?
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notEquals(dynamic e1, dynamic e2) → bool
Compare two elements for being not equal.
inherited
otp({required String token, required String smsCode}) → OtpAuthenticator
toString() → String
A string representation of this object.
inherited

Operators

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