CustomerModel class

Constructors

CustomerModel({int? id, DateTime? dateCreated, DateTime? dateCreatedGmt, DateTime? dateModified, DateTime? dateModifiedGmt, String? email, String? firstName, String? lastName, String? role, String? username, String? password, Map<String, dynamic>? billing, Map<String, dynamic>? shipping, bool? isPayingCustomer, String? avatarUrl, List? metaData})
CustomerModel.fromJson(Map<String, dynamic> json)
factory

Properties

avatarUrl String?
getter/setter pair
billing Map<String, dynamic>?
getter/setter pair
dateCreated DateTime?
getter/setter pair
dateCreatedGmt DateTime?
getter/setter pair
dateModified DateTime?
getter/setter pair
dateModifiedGmt DateTime?
getter/setter pair
email String?
getter/setter pair
firstName String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id int?
getter/setter pair
isPayingCustomer bool?
getter/setter pair
lastName String?
getter/setter pair
metaData List?
getter/setter pair
password String?
getter/setter pair
role String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shipping Map<String, dynamic>?
getter/setter pair
username String?
getter/setter pair

Methods

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

Operators

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