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"];
return this;
}