CreateCustomerModel.fromJson constructor

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

Implementation

factory CreateCustomerModel.fromJson(Map<String, dynamic> json) =>
    CreateCustomerModel(
      success: json["success"],
      code: json["code"],
      description: json["description"],
      data: json["data"] == null ? null : Data.fromJson(json["data"]),
    );