fromJson static method

ImageQualityCharacteristic? fromJson(
  1. dynamic jsonObject
)

Implementation

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

  result.characteristicName = jsonObject["characteristicName"];
  result.imageQualityGroup = jsonObject["imageQualityGroup"];
  result.recommendedRange = ImageQualityRange.fromJson(jsonObject["recommendedRange"]);
  result.customRange = ImageQualityRange.fromJson(jsonObject["customRange"]);

  return result;
}