User constructor

User({
  1. int? id,
  2. required String matricule,
  3. required String name,
  4. String? img,
  5. String? email,
  6. String? phone,
  7. String? password,
  8. required DateTime created_at,
  9. DateTime? updated_at,
  10. required int? equipe_id,
  11. required String role_key,
  12. Role? role,
})

Implementation

User({
  this.id,
  required this.matricule,
  required this.name,
  this.img,
  this.email,
  this.phone,
  this.password,
  required this.created_at,
  this.updated_at,
  required this.equipe_id,
  required this.role_key,
  this.role,
});