toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "batch": List<dynamic>.from(batch.map((x) => x.toJson())),
    };