fromJson static method
Implementation
static DocumentReaderValue? fromJson(jsonObject) {
if (jsonObject == null) return null;
var result = new DocumentReaderValue();
result.pageIndex = jsonObject["pageIndex"];
result.sourceType = jsonObject["sourceType"];
result.validity = jsonObject["validity"];
result.probability = jsonObject["probability"];
result.value = jsonObject["value"];
result.originalValue = jsonObject["originalValue"];
result.boundRect = Rect.fromJson(jsonObject["boundRect"]);
if (jsonObject["comparison"] != null)
jsonObject["comparison"].forEach((k, v) => result.comparison[int.parse(k)] = v);
return result;
}