Customer class

Constructors

Customer({String? id, String? token, String? firstName, String? lastName, String? company, String? email, Address? address, Map<String, String>? metadata, DateTime? creationDate})
Customer.fromJson(String source)
factory
Customer.fromMap(Map<String, dynamic> map)
factory

Properties

address Address?
getter/setter pair
company String?
getter/setter pair
creationDate DateTime?
getter/setter pair
displayName String
no setter
email String?
getter/setter pair
firstName String?
getter/setter pair
hashCode int
The hash code for this object.
no setter
id String?
getter/setter pair
lastName String?
getter/setter pair
metadata Map<String, String>?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
token String?
getter/setter pair

Methods

copyWith({String? firstName, String? lastName, String? company, String? email, Address? address, Map<String, String>? metadata}) Customer
Specify how to clone the concrete class.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toMap({bool databaseFormat = false}) Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

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