toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final scalingAdjustment = this.scalingAdjustment;
  final adjustmentType = this.adjustmentType;
  final coolDown = this.coolDown;
  return {
    'ScalingAdjustment': scalingAdjustment,
    if (adjustmentType != null) 'AdjustmentType': adjustmentType.toValue(),
    if (coolDown != null) 'CoolDown': coolDown,
  };
}