toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (artifactStorage != null) 'artifactStorage': artifactStorage!,
      if (defaultPool != null) 'defaultPool': defaultPool!,
      if (executionTimeout != null) 'executionTimeout': executionTimeout!,
      if (privatePool != null) 'privatePool': privatePool!,
      if (serviceAccount != null) 'serviceAccount': serviceAccount!,
      if (usages != null) 'usages': usages!,
      if (verbose != null) 'verbose': verbose!,
      if (workerPool != null) 'workerPool': workerPool!,
    };