UserModel constructor

UserModel({
  1. String? uid,
  2. String? email,
  3. String? firstName,
  4. String? lastName,
  5. String? middleName,
  6. String? companyName,
  7. String? phone,
  8. String? addressLine1,
  9. String? addressLine2,
  10. String? city,
  11. String? countryCode,
  12. String? country,
  13. String? residentCountry,
  14. String? password,
  15. String? role,
  16. bool? isActive,
  17. String? createdAt,
  18. String? updatedAt,
  19. bool? hasDefaultPassword,
  20. String? photo,
  21. int? flightSearchCreditAdded,
  22. int? flightSearchCreditUsed,
})

Implementation

UserModel({
  this.uid,
  this.email,
  this.firstName,
  this.lastName,
  this.middleName,
  this.companyName,
  this.phone,
  this.addressLine1,
  this.addressLine2,
  this.city,
  this.countryCode,
  this.country,
  this.residentCountry,
  this.password,
  this.role,
  this.isActive,
  this.createdAt,
  this.updatedAt,
  this.hasDefaultPassword,
  this.photo,
  this.flightSearchCreditAdded,
  this.flightSearchCreditUsed,
});