UserModel class

Constructors

UserModel({String? uid, String? email, String? firstName, String? lastName, String? middleName, String? companyName, String? phone, String? addressLine1, String? addressLine2, String? city, String? countryCode, String? country, String? residentCountry, String? password, String? role, bool? isActive, String? createdAt, String? updatedAt, bool? hasDefaultPassword, String? photo, int? flightSearchCreditAdded, int? flightSearchCreditUsed})
UserModel.fromJson(Map<String, dynamic> json)

Properties

addressLine1 String?
getter/setter pair
addressLine2 String?
getter/setter pair
city String?
getter/setter pair
companyName String?
getter/setter pair
country String?
getter/setter pair
countryCode String?
getter/setter pair
createdAt String?
getter/setter pair
currentSearchCredit int
no setter
email String?
getter/setter pair
firstName String?
getter/setter pair
flightSearchCreditAdded int?
getter/setter pair
flightSearchCreditUsed int?
getter/setter pair
fullName String
no setter
fullName2 String
no setter
hasDefaultPassword bool?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isActive bool?
getter/setter pair
lastName String?
getter/setter pair
middleName String?
getter/setter pair
password String?
getter/setter pair
phone String?
getter/setter pair
photo String?
getter/setter pair
rateRequestAdded int?
getter/setter pair
rateRequestConsumed int
no setter
rateRequestRemaining int
no setter
rateRequestTotal int
no setter
rateRequestUsed int?
getter/setter pair
residentCountry String?
getter/setter pair
role String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uid String?
getter/setter pair
updatedAt String?
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited