fromJson static method

OutputImageCrop? fromJson(
  1. dynamic jsonObject
)

Implementation

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

  result.type = jsonObject["type"];
  result.size = Size.fromJson(jsonObject["size"]);
  result.padColor = jsonObject["padColor"];
  result.returnOriginalRect = jsonObject["returnOriginalRect"];

  return result;
}