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