toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (autoscalingMetricSpecs != null)
        'autoscalingMetricSpecs': autoscalingMetricSpecs!,
      if (machineSpec != null) 'machineSpec': machineSpec!,
      if (maxReplicaCount != null) 'maxReplicaCount': maxReplicaCount!,
      if (minReplicaCount != null) 'minReplicaCount': minReplicaCount!,
    };