UserModel constructor

const UserModel({
  1. String? id,
  2. required String email,
  3. String? password,
  4. required String userName,
  5. required String fullName,
  6. Timestamp? createdAt,
  7. Timestamp? updatedAt,
  8. String? fitnessLevel,
  9. int? completedExercises,
  10. String? profilePicture,
  11. String? role,
})

Constructor

Implementation

const UserModel(
    {this.id, required this.email, this.password, required this.userName, required this.fullName, this.createdAt, this.updatedAt, this.fitnessLevel, this.completedExercises, this.profilePicture, this.role});