toJson method
Implementation
Map<String, dynamic> toJson() {
final maxValue = this.maxValue;
final minValue = this.minValue;
final name = this.name;
final scalingType = this.scalingType;
return {
'MaxValue': maxValue,
'MinValue': minValue,
'Name': name,
if (scalingType != null) 'ScalingType': scalingType.toValue(),
};
}