User class

Constructors

User({required String id, required Map<String, dynamic> appMetadata, required Map<String, dynamic>? userMetadata, required String aud, String? confirmationSentAt, String? recoverySentAt, String? emailChangeSentAt, String? newEmail, String? invitedAt, String? actionLink, String? email, String? phone, required String createdAt, @Deprecated('Use emailConfirmedAt instead') String? confirmedAt, String? emailConfirmedAt, String? phoneConfirmedAt, String? lastSignInAt, String? role, String? updatedAt, List<UserIdentity>? identities, List<Factor>? factors, bool isAnonymous = false})
const

Properties

final
appMetadata → Map<String, dynamic>
final
aud → String
final
confirmationSentAt → String?
final
confirmedAt → String?
final
createdAt → String
final
email → String?
final
emailChangeSentAt → String?
final
emailConfirmedAt → String?
final
factors → List<Factor>?
final
hashCode → int
The hash code for this object.
no setteroverride
id → String
final
identities → List<UserIdentity>?
final
invitedAt → String?
final
isAnonymous → bool
final
lastSignInAt → String?
final
newEmail → String?
final
phone → String?
final
phoneConfirmedAt → String?
final
recoverySentAt → String?
final
role → String?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
updatedAt → String?
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.
override

Operators

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

Static Methods

fromJson(Map<String, dynamic> json) → User?
Returns a User object from a map of json returns null if there is no id present