CarpUser constructor

CarpUser(
  1. {@required String username,
  2. int id,
  3. String accountId,
  4. String firstName,
  5. String lastName,
  6. String phone,
  7. String email,
  8. String department,
  9. String organization}
)

Implementation

CarpUser({
  @required this.username,
  this.id,
  this.accountId,
  this.firstName,
  this.lastName,
  this.phone,
  this.email,
  this.department,
  this.organization,
}) {
  accountId ??= Uuid().v4();
}