toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (bootDiskSizeGb != null) 'bootDiskSizeGb': bootDiskSizeGb!,
  if (cpus != null) 'cpus': cpus!,
  if (enableLoadBalancer != null) 'enableLoadBalancer': enableLoadBalancer!,
  if (image != null) 'image': image!,
  if (imageType != null) 'imageType': imageType!,
  if (labels != null) 'labels': labels!,
  if (memoryMb != null) 'memoryMb': memoryMb!,
  if (replicas != null) 'replicas': replicas!,
  if (taints != null) 'taints': taints!,
  if (vsphereConfig != null) 'vsphereConfig': vsphereConfig!,
};