UserModel constructor
UserModel({
- String? id,
- String? emailAddress,
- required String phoneNumber,
- String? password,
- required String fullName,
- required DateTime createdAt,
- DateTime? updatedAt,
- bool isAdmin = false,
- bool newUser = true,
- String? xoraiaID,
- required String apiKey,
- String? token,
- DateTime? tokenExpirationDate,
- String? companyTypeId,
- String? logo,
- String? description,
- String? address,
- String? city,
- Country? country,
- int availableCredit = 0,
- bool blocked = false,
- bool isVerified = false,
- String? codePromo,
Implementation
UserModel({
this.id,
this.emailAddress,
required this.phoneNumber,
this.password,
required this.fullName,
required this.createdAt,
this.updatedAt,
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,
this.availableCredit = 0,
this.blocked = false,
this.isVerified = false,
this.codePromo,
});