fromJson static method

DocumentReaderCompletion? fromJson(
  1. dynamic jsonObject
)

Implementation

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

  result.action = jsonObject["action"];
  result.results = DocumentReaderResults.fromJson(jsonObject["results"]);
  result.error = RegulaException.fromJson(jsonObject["error"]);

  return result;
}