fromJson static method

DocumentReaderAuthenticityResult? fromJson(
  1. dynamic jsonObject
)

Implementation

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

  result.status = jsonObject["status"];
  if (jsonObject["checks"] != null)
    for (var item in jsonObject["checks"])
      result.checks.add(DocumentReaderAuthenticityCheck.fromJson(item));

  return result;
}