CouponBatch.fromJson constructor

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

Implementation

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