User constructor

User({
  1. required String id,
  2. required String email,
  3. required String name,
  4. String? image,
  5. required DateTime createdAt,
  6. required DateTime updatedAt,
  7. bool? emailVerified,
  8. bool? twoFactorEnabled,
  9. String? username,
  10. String? displayUsername,
  11. bool? isAnonymous,
  12. String? phoneNumber,
  13. bool? phoneNumberVerified,
  14. String? role,
  15. bool? banned,
  16. String? banReason,
  17. DateTime? banExpires,
  18. 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,
});