UserModel constructor

const UserModel({
  1. required String uid,
  2. String? email,
  3. String? phoneNumber,
  4. String? displayName,
  5. String? photoUrl,
  6. bool isEmailVerified = false,
  7. bool isPhoneVerified = false,
  8. DateTime? createdAt,
  9. Map<String, dynamic>? metadata,
})

Implementation

const UserModel({
  required this.uid,
  this.email,
  this.phoneNumber,
  this.displayName,
  this.photoUrl,
  this.isEmailVerified = false,
  this.isPhoneVerified = false,
  this.createdAt,
  this.metadata,
});