fromJson static method
Allows you to deserialize object.
Implementation
static Application? fromJson(jsonObject) {
if (jsonObject == null) return null;
var result = Application();
result._type = RFIDApplicationType.getByValue(jsonObject["type"])!;
result._status = RFIDErrorCodes.getByValue(jsonObject["status"])!;
result._applicationID = jsonObject["applicationID"];
result._dataHashAlgorithm = jsonObject["dataHashAlgorithm"];
result._unicodeVersion = jsonObject["unicodeVersion"];
result._version = jsonObject["version"];
for (var item in jsonObject["files"]) {
result._files.addSafe(File.fromJson(item));
}
return result;
}