User constructor
const
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,
Implementation
const User({
required this.id,
required this.appMetadata,
required this.userMetadata,
required this.aud,
this.confirmationSentAt,
this.recoverySentAt,
this.emailChangeSentAt,
this.newEmail,
this.invitedAt,
this.actionLink,
this.email,
this.phone,
required this.createdAt,
@Deprecated('Use emailConfirmedAt instead') this.confirmedAt,
this.emailConfirmedAt,
this.phoneConfirmedAt,
this.lastSignInAt,
this.role,
this.updatedAt,
this.identities,
this.factors,
this.isAnonymous = false,
});