User constructor

User({
  1. required String id,
  2. required String email,
  3. String? firstName,
  4. String? lastName,
  5. bool? isPending,
  6. DateTime? createdAt,
  7. DateTime? updatedAt,
  8. String? role,
})

Implementation

User({
  required this.id,
  required this.email,
  this.firstName,
  this.lastName,
  this.isPending,
  this.createdAt,
  this.updatedAt,
  this.role,
});