fromJson static method

ImageInputParam? fromJson(
  1. dynamic jsonObject
)

Implementation

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

  result.width = jsonObject["width"];
  result.height = jsonObject["height"];
  result.type = jsonObject["type"];
  result.disableFrameShiftIR = jsonObject["disableFrameShiftIR"];
  result.doFlipYAxis = jsonObject["doFlipYAxis"];

  return result;
}