fromJson static method
Allows you to deserialize object.
Implementation
static BarcodeResult? fromJson(jsonObject) {
if (jsonObject == null) return null;
var result = BarcodeResult();
for (var item in jsonObject["fields"]) {
result._fields.addSafe(BarcodeField.fromJson(item));
}
return result;
}