User constructor
User({
- required String id,
- required String email,
- required String name,
- String? image,
- required DateTime createdAt,
- required DateTime updatedAt,
- bool? emailVerified,
- bool? twoFactorEnabled,
- String? username,
- String? displayUsername,
- bool? isAnonymous,
- String? phoneNumber,
- bool? phoneNumberVerified,
- String? role,
- bool? banned,
- String? banReason,
- DateTime? banExpires,
- Map<
String, dynamic> ? customProperties,
Implementation
User({
required this.id,
required this.email,
required this.name,
this.image,
required this.createdAt,
required this.updatedAt,
this.emailVerified,
this.twoFactorEnabled,
this.username,
this.displayUsername,
this.isAnonymous,
this.phoneNumber,
this.phoneNumberVerified,
this.role,
this.banned,
this.banReason,
this.banExpires,
this.customProperties,
});