fromJson static method

  1. @visibleForTesting
ImageQualityRange? fromJson(
  1. dynamic jsonObject
)

Implementation

@visibleForTesting
static ImageQualityRange? fromJson(jsonObject) {
  if (jsonObject == null) return null;

  return ImageQualityRange(
    _toDouble(jsonObject["min"])!,
    _toDouble(jsonObject["max"])!,
  );
}