toJson method
Implementation
Map<String, dynamic> toJson() {
final autoScalingGroupArn = this.autoScalingGroupArn;
final managedScaling = this.managedScaling;
final managedTerminationProtection = this.managedTerminationProtection;
return {
'autoScalingGroupArn': autoScalingGroupArn,
if (managedScaling != null) 'managedScaling': managedScaling,
if (managedTerminationProtection != null)
'managedTerminationProtection': managedTerminationProtection.toValue(),
};
}