fromJson static method

ImageQualityRange? fromJson(
  1. dynamic jsonObject
)

Implementation

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

  result.min =
      jsonObject["min"] == null ? null : jsonObject["min"].toDouble();
  result.max =
      jsonObject["max"] == null ? null : jsonObject["max"].toDouble();

  return result;
}