CustomerBatch.fromJson constructor

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

Implementation

factory CustomerBatch.fromJson(Map<String, dynamic> json) => CustomerBatch(
      create: List<Customers>.from(
          json["create"].map((x) => Customers.fromJson(x))),
      update: List<Customers>.from(
          json["update"].map((x) => Customers.fromJson(x))),
      delete: List<Customers>.from(
          json["delete"].map((x) => Customers.fromJson(x))),
    );