OrderBatch.fromJson constructor

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

Implementation

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