toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (kubeletConfig != null) 'kubeletConfig': kubeletConfig!,
  if (labels != null) 'labels': labels!,
  if (nodeConfigs != null) 'nodeConfigs': nodeConfigs!,
  if (operatingSystem != null) 'operatingSystem': operatingSystem!,
  if (taints != null) 'taints': taints!,
};