LinkCustomerDetails.fromJson constructor

LinkCustomerDetails.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory LinkCustomerDetails.fromJson(Map<String, dynamic> json) {
  return LinkCustomerDetails(
    id: json['id'],
    creationDate: json['creationDate'],
    firstName: json['firstName'],
    lastName: json['lastName'],
    email: json['email'],
    status: _parseLinkCustomerStatus(json['customerStatus']),
  );
}