Customer class

Constructors

Customer({int? id, String? dateCreated, String? dateCreatedGmt, String? dateModified, String? dateModifiedGmt, String? email, String? firstName, String? lastName, String? role, String? username, Billing? billing, Shipping? shipping, bool? isPayingCustomer, String? avatarUrl})
Customer.fromJson(String source)
factory
Customer.fromMap(Map<String, dynamic> map)
factory

Properties

avatarUrl String?
final
billing Billing?
final
dateCreated String?
final
dateCreatedGmt String?
final
dateModified String?
final
dateModifiedGmt String?
final
email String?
final
firstName String?
final
hashCode int
The hash code for this object.
no setteroverride
id int?
final
isPayingCustomer bool?
final
lastName String?
final
role String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shipping Shipping?
final
username String?
final

Methods

copyWith({int? id, String? dateCreated, String? dateCreatedGmt, String? dateModified, String? dateModifiedGmt, String? email, String? firstName, String? lastName, String? role, String? username, Billing? billing, Shipping? shipping, bool? isPayingCustomer, String? avatarUrl}) Customer
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(Object o) bool
The equality operator.
override