fromJson static method
Implementation
static DocumentReaderTextResult? fromJson(jsonObject) {
if (jsonObject == null) return null;
var result = new DocumentReaderTextResult();
result.status = jsonObject["status"];
result.comparisonStatus = jsonObject["comparisonStatus"];
result.validityStatus = jsonObject["validityStatus"];
if (jsonObject["availableSourceList"] != null)
for (var item in jsonObject["availableSourceList"])
result.availableSourceList.add(DocumentReaderTextSource.fromJson(item));
if (jsonObject["fields"] != null)
for (var item in jsonObject["fields"])
result.fields.add(DocumentReaderTextField.fromJson(item));
return result;
}