Customer.fromJson constructor

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

Implementation

factory Customer.fromJson(Map<String, dynamic> json) => Customer(
      status: Status.fromJson(json["status"]),
      data: CustomerData.fromJson(json["data"]),
    );