fromJson static method

DocReaderFieldRect? fromJson(
  1. dynamic jsonObject
)

Implementation

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

  result.bottom = jsonObject["bottom"];
  result.top = jsonObject["top"];
  result.left = jsonObject["left"];
  result.right = jsonObject["right"];

  return result;
}