CustomerModel class

Inheritance

Constructors

CustomerModel({String? id, String? name, required String email, required String phoneNumber, double? longtitude, double? latitude, String? language, required String uuid, String? jwtToken, List<OrderProduct>? currentOrders, List<OrderProduct>? favoriteProducts})
CustomerModel.fromJson(Map<String, dynamic> json)
factory

Properties

currentOrders List<OrderProduct>?
finalinherited
email String
finalinherited
favoriteProducts List<OrderProduct>?
finalinherited
hashCode int
The hash code for this object.
no setterinherited
id String?
finalinherited
jwtToken String?
finalinherited
language String?
finalinherited
latitude double?
finalinherited
longtitude double?
finalinherited
name String?
finalinherited
phoneNumber String
finalinherited
roleId int
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uuid String
finalinherited

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