toJson method
Implementation
Map toJson(){
Map _result = {};
if (characteristicName != null) _result.addAll({"characteristicName": characteristicName});
if (imageQualityGroup != null) _result.addAll({"imageQualityGroup": imageQualityGroup});
if (recommendedRange != null) _result.addAll({"recommendedRange": recommendedRange!.toJson()});
if (customRange != null) _result.addAll({"customRange": customRange!.toJson()});
return _result;
}