User class

User model representing an authenticated user

Constructors

User({required String id, required String email, DateTime? emailConfirmedAt, DateTime? phoneConfirmedAt, DateTime? lastSignInAt, required DateTime createdAt, required DateTime updatedAt, Map<String, dynamic>? userMetadata, Map<String, dynamic>? appMetadata, String? phone, String? role, DateTime? confirmationSentAt, DateTime? recoverySentAt, DateTime? emailChangeSentAt, String? newEmail, DateTime? invitedAt, String? actionLink})
const
User.fromJson(Map<String, dynamic> json)
factory

Properties

final
appMetadata → Map<String, dynamic>?
final
confirmationSentAt → DateTime?
final
createdAt → DateTime
final
email → String
final
emailChangeSentAt → DateTime?
final
emailConfirmedAt → DateTime?
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
final
invitedAt → DateTime?
final
lastSignInAt → DateTime?
final
newEmail → String?
final
phone → String?
final
phoneConfirmedAt → DateTime?
final
recoverySentAt → DateTime?
final
role → String?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
updatedAt → DateTime
final
userMetadata → Map<String, dynamic>?
final

Methods

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

Operators

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