fromJson static method
Allows you to deserialize object.
Implementation
static AuthenticityCheck? fromJson(jsonObject) {
if (jsonObject == null) return null;
var result = AuthenticityCheck();
result._type = Authenticity.getByValue(jsonObject["type"])!;
result._status = CheckResult.getByValue(jsonObject["status"])!;
result._typeName = jsonObject["typeName"];
result._pageIndex = jsonObject["pageIndex"];
for (var item in jsonObject["elements"]) {
result.elements.addSafe(AuthenticityElement.fromJson(item));
}
return result;
}