Account class

Account

Implemented types

Constructors

Account({required String $id, required String $createdAt, required String $updatedAt, required String name, required String registration, required bool status, required String passwordUpdate, required String email, required String phone, required bool emailVerification, required bool phoneVerification, required Preferences prefs})
Account.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
email String
User email address.
final
emailVerification bool
Email verification status.
final
hashCode int
The hash code for this object.
no setterinherited
name String
User name.
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