fromJson static method

DocumentReaderResultsStatus? fromJson(
  1. dynamic jsonObject
)

Implementation

static DocumentReaderResultsStatus? fromJson(jsonObject) {
  if (jsonObject == null) return null;
  var result = new DocumentReaderResultsStatus();

  result.overallStatus = jsonObject["overallStatus"];
  result.optical = jsonObject["optical"];
  result.detailsOptical = DetailsOptical.fromJson(jsonObject["detailsOptical"]);
  result.rfid = jsonObject["rfid"];
  result.detailsRFID = DetailsRFID.fromJson(jsonObject["detailsRFID"]);
  result.portrait = jsonObject["portrait"];
  result.stopList = jsonObject["stopList"];

  return result;
}