ProfileModel class

Constructors

ProfileModel({int? id, String? firstName, String? lastName, String? middleName, String? phone, String? profilePhoto, bool? isWorking, num? balance, num? unseenNotificationCount, bool? passedTest, bool? visitedOffice, bool? myId, int? equipmentId, bool? commissionerIsSet, bool? selfEmploymentStatusSet, bool? isBlocked, DateTime? blockedTill, bool? drivingLicenseUploaded, bool? drivingLicenseApproved, String? email, List<int>? seenHints, StatisticModel? stats, num? averageRating, num? orderCount, num? medalLevel, num? activity, String? lockerSyncValue})
ProfileModel.fromMap(Map<String, dynamic> json)
factory

Properties

activity num?
getter/setter pair
averageRating num?
getter/setter pair
balance num?
getter/setter pair
blockedTill DateTime?
getter/setter pair
commissionerIsSet bool?
getter/setter pair
drivingLicenseApproved bool?
getter/setter pair
drivingLicenseUploaded bool?
getter/setter pair
email String?
getter/setter pair
equipmentId int?
getter/setter pair
firstName String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id int?
getter/setter pair
isBlocked bool?
getter/setter pair
isWorking bool?
getter/setter pair
lastName String?
getter/setter pair
lockerSyncValue String?
getter/setter pair
medalLevel num?
getter/setter pair
middleName String?
getter/setter pair
myId bool?
getter/setter pair
orderCount num?
getter/setter pair
passedTest bool?
getter/setter pair
phone String?
getter/setter pair
profilePhoto String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
seenHints List<int>?
getter/setter pair
selfEmploymentStatusSet bool?
getter/setter pair
stats StatisticModel?
getter/setter pair
unseenNotificationCount num?
getter/setter pair
visitedOffice bool?
getter/setter pair

Methods

copyWith({int? id, String? firstName, String? lastName, String? middleName, String? phone, String? profilePhoto, num? balance, num? unseenNotificationCount, num? averageRating, num? orderCount, num? medalLevel, num? activity, bool? myId, int? equipmentId, bool? selfEmploymentStatusSet, bool? passedTest, bool? commissionerIsSet, bool? isWorking, bool? visitedOffice, bool? drivingLicenseUploaded, bool? drivingLicenseApproved, String? email, String? lockerSyncValue, List<int>? seenHints, StatisticModel? stats, bool? isBlocked, DateTime? blockedTill}) ProfileModel
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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