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
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