User constructor

User({
  1. required String id,
  2. required String email,
  3. String? firstName,
  4. String? lastName,
  5. required String customerName,
  6. required DateTime dateJoined,
  7. required bool isActive,
  8. required bool isStaff,
  9. required bool isSuperuser,
  10. required bool isContractor,
})

Returns a new User instance.

Implementation

User({
  required this.id,
  required this.email,
  this.firstName,
  this.lastName,
  required this.customerName,
  required this.dateJoined,
  required this.isActive,
  required this.isStaff,
  required this.isSuperuser,
  required this.isContractor,
});