toJson method

Map<String, dynamic> toJson()

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(),
  };
}