Auth<K extends AuthKeys> class

Constructors

Auth({String? id = "", int? timeMills, bool? biometric, String? email, bool? loggedIn, int? loggedInTime, int? loggedOutTime, String? name, String? password, String? phone, String? photo, String? provider, String? username, bool? verified})

Properties

biometric bool?
final
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?
final
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
ignoredKeys Iterable<String>
Returns keys that are ignored (not insertable)
no setterinherited
isAuthenticated bool
no setter
isBiometric bool
no setter
isLoggedIn bool
no setter
isVerified bool
no setter
json String
Returns the entity as a JSON string
no setterinherited
key → K
The key associated with the entity
no setterinherited
lastLoggedInDate DateTime
no setter
lastLoggedInTime Duration
no setter
lastLoggedOutDate DateTime
no setter
lastLoggedOutTime Duration
no setter
loggedIn bool?
final
loggedInTime int?
final
loggedOutTime int?
final
name String?
final
password String?
final
phone String?
final
photo String?
final
props Iterable<Object?>
no setter
provider String?
final
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 setter
timeMills int
The timestamp in milliseconds since epoch
no setterinherited
timeMillsOrNull int?
finalinherited
username String?
final
verified bool?
final

Methods

copy({String? id, int? timeMills, bool? biometric, String? email, bool? loggedIn, int? loggedInTime, int? loggedOutTime, String? name, String? password, String? phone, String? photo, String? provider, String? username, bool? verified}) Auth<K>
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() → K
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
toString() String
A string representation of this object.

Operators

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