fromJson method
Allows you to deserialize object.
Implementation
fromJson(Map<String, dynamic> jsonObject) {
_dg1 = jsonObject["DG1"];
_dg2 = jsonObject["DG2"];
_dg3 = jsonObject["DG3"];
_dg4 = jsonObject["DG4"];
_dg5 = jsonObject["DG5"];
_dg6 = jsonObject["DG6"];
_dg7 = jsonObject["DG7"];
_dg8 = jsonObject["DG8"];
_dg9 = jsonObject["DG9"];
_dg10 = jsonObject["DG10"];
_dg11 = jsonObject["DG11"];
_dg12 = jsonObject["DG12"];
_dg13 = jsonObject["DG13"];
_dg14 = jsonObject["DG14"];
_dg15 = jsonObject["DG15"];
_dg16 = jsonObject["DG16"];
_dg17 = jsonObject["DG17"];
_dg18 = jsonObject["DG18"];
_dg19 = jsonObject["DG19"];
_dg20 = jsonObject["DG20"];
_dg21 = jsonObject["DG21"];
return this;
}