fromJson static method

DocumentReaderTextSource? fromJson(
  1. dynamic jsonObject
)

Implementation

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

  result.sourceType = jsonObject["sourceType"];
  result.source = jsonObject["source"];
  result.validityStatus = jsonObject["validityStatus"];

  return result;
}