toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (autoResizeConfig != null) 'autoResizeConfig': autoResizeConfig!,
      if (cpus != null) 'cpus': cpus!,
      if (memory != null) 'memory': memory!,
      if (replicas != null) 'replicas': replicas!,
      if (vsphereConfig != null) 'vsphereConfig': vsphereConfig!,
    };