toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (categoricalValues != null) 'categoricalValues': categoricalValues!,
      if (discreteValues != null) 'discreteValues': discreteValues!,
      if (maxValue != null) 'maxValue': maxValue!,
      if (minValue != null) 'minValue': minValue!,
      if (parameterName != null) 'parameterName': parameterName!,
      if (scaleType != null) 'scaleType': scaleType!,
      if (type != null) 'type': type!,
    };