toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final basicAlgorithm = this.basicAlgorithm;
  final clusterType = this.clusterType;
  final id = this.id;
  final labels = this.labels;
  final name = this.name;
  final secondaryWorkerConfig = this.secondaryWorkerConfig;
  final workerConfig = this.workerConfig;
  return {
    'basicAlgorithm': ?basicAlgorithm,
    'clusterType': ?clusterType,
    'id': ?id,
    'labels': ?labels,
    'name': ?name,
    'secondaryWorkerConfig': ?secondaryWorkerConfig,
    'workerConfig': ?workerConfig,
  };
}