CustomerDetails.fromMap constructor
CustomerDetails.fromMap(
- Map<String, dynamic> json
)
Implementation
factory CustomerDetails.fromMap(Map<String, dynamic> json) => CustomerDetails(
id: json["id"],
firstName: json["firstName"],
lastName: json["lastName"],
name: json["name"],
email: json["email"],
address: json["address"],
addressLine1: json["addressLine1"],
addressLine2: json["addressLine2"],
addressLine3: json["addressLine3"],
contactNumber: json["contactNumber"],
customerType: json["customerType"],
accountId: json["accountId"],
profileId: json["profileId"],
serviceId: json["serviceId"],
customerTypeId: json["customerTypeId"],
customerTypeValue: json["customerTypeValue"],
customerCategoryId: json["customerCategoryId"],
customerCategoryValue: json["customerCategoryValue"],
customerSubCategoryId: json["customerSubCategoryId"],
customerSubCategoryValue: json["customerSubCategoryValue"],
partnerId: json["partnerId"],
status: json["status"],
customerCode: json["customerCode"],
customerTin: json["customerTin"],
displayName: json["displayName"],
);