toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (basicAlgorithm != null) 'basicAlgorithm': basicAlgorithm!,
  if (clusterType != null) 'clusterType': clusterType!,
  if (id != null) 'id': id!,
  if (labels != null) 'labels': labels!,
  if (name != null) 'name': name!,
  if (secondaryWorkerConfig != null)
    'secondaryWorkerConfig': secondaryWorkerConfig!,
  if (workerConfig != null) 'workerConfig': workerConfig!,
};