fromJson static method

DocumentReaderSymbol? fromJson(
  1. dynamic jsonObject
)

Implementation

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

  result.code = jsonObject["code"];
  result.rect = Rect.fromJson(jsonObject["rect"]);
  result.probability = jsonObject["probability"];

  return result;
}