UserModel constructor

UserModel({
  1. String? id,
  2. String? emailAddress,
  3. required String phoneNumber,
  4. String? password,
  5. required String fullName,
  6. required DateTime createdAt,
  7. bool isAdmin = false,
  8. bool newUser = true,
  9. String? xoraiaID,
  10. required String apiKey,
  11. String? token,
  12. DateTime? tokenExpirationDate,
  13. String? companyTypeId,
  14. String? description,
  15. String? address,
  16. String? city,
  17. Country? country,
})

Implementation

UserModel({
  this.id,
  this.emailAddress,
  required this.phoneNumber,
  this.password,
  required this.fullName,
  required this.createdAt,
  this.isAdmin = false,
  this.newUser = true,
  this.xoraiaID,
  required this.apiKey,
  this.token,
  this.tokenExpirationDate,
  this.companyTypeId,
  this.logo,
  this.description,
  this.address,
  this.city,
  this.country,
});