Customer.fromJson constructor
Customer.fromJson(
- dynamic json
Implementation
Customer.fromJson(dynamic json) {
uuid = json['uuid'];
refCode = json['refCode'];
firstName = json['firstName'];
lastName = json['lastName'];
email = json['email'];
phoneNumber = json['phoneNumber'];
totalSpendInUSD = json['totalSpendInUSD'];
businessId = json['businessId'];
userId = json['userId'];
context = json['context'];
createdAtDateOnly = json['createdAtDateOnly'];
createdAt = json['createdAt'];
}