Printmodel.fromJson constructor

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

Implementation

factory Printmodel.fromJson(Map<String, dynamic> json) => Printmodel(
  data: List<Datum>.from(json["data"].map((x) => Datum.fromJson(x))),
);