fromJson static method

OutputImageParams? fromJson(
  1. dynamic jsonObject
)

Implementation

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

  result.backgroundColor = jsonObject["backgroundColor"];
  result.crop = OutputImageCrop.fromJson(jsonObject["crop"]);

  return result;
}