User class

User

Implemented types

Constructors

User({required String $id, required String $createdAt, required String $updatedAt, required String name, String? password, String? hash, Map? hashOptions, required String registration, required bool status, required List labels, required String passwordUpdate, required String email, required String phone, required bool emailVerification, required bool phoneVerification, required Preferences prefs, required String accessedAt})
User.fromMap(Map<String, dynamic> map)
factory

Properties

$createdAt String
User creation date in ISO 8601 format.
final
$id String
User ID.
final
$updatedAt String
User update date in ISO 8601 format.
final
accessedAt String
Most recent access date in ISO 8601 format. This attribute is only updated again after 24 hours.
final
email String
User email address.
final
emailVerification bool
Email verification status.
final
hash String?
Password hashing algorithm.
final
hashCode int
The hash code for this object.
no setterinherited
hashOptions Map?
Password hashing algorithm configuration.
final
labels List
Labels for the user.
final
name String
User name.
final
password String?
Hashed user password.
final
passwordUpdate String
Password update time in ISO 8601 format.
final
phone String
User phone number in E.164 format.
final
phoneVerification bool
Phone verification status.
final
prefs Preferences
User preferences as a key-value object
final
registration String
User registration date in ISO 8601 format.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status bool
User status. Pass true for enabled and false for disabled.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited

Operators

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