CustomerDetails.fromJson constructor
Implementation
factory CustomerDetails.fromJson(Map<String, dynamic> json) => CustomerDetails(
address: json["address"] != null ? Address.fromJson(json["address"]) : null,
email: json["email"],
name: json["name"],
phone: json["phone"],
taxExempt: json["tax_exempt"],
taxIds: json["tax_ids"] != null ? List<String>.from(json["tax_ids"]) : null,
);