UserModel constructor

UserModel({
  1. required String email,
  2. required String phone,
  3. required String firstName,
  4. required String lastName,
  5. required String gender,
  6. required String dateOfBirth,
  7. String? password,
  8. required String userType,
  9. String? defaultAddressId,
  10. String? token,
  11. String? profilePicture,
})

Implementation

UserModel({
  required this.email,
  required this.phone,
  required this.firstName,
  required this.lastName,
  required this.gender,
  required this.dateOfBirth,
  this.password,
  required this.userType,
  this.defaultAddressId,
  this.token,
  this.profilePicture,
});