CustomerModel.fromJson constructor

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

Implementation

factory CustomerModel.fromJson(Map<String, dynamic> json) {
  return CustomerModel(
    json["name"],
    json["customer_name"],
    json["customer_type"],
    json["customer_group"],
    json["gstin"],
  );
}