toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (build != null) 'build': build!,
      if (dockerRepository != null) 'dockerRepository': dockerRepository!,
      if (entryPoint != null) 'entryPoint': entryPoint!,
      if (environmentVariables != null)
        'environmentVariables': environmentVariables!,
      if (runtime != null) 'runtime': runtime!,
      if (source != null) 'source': source!,
      if (sourceProvenance != null) 'sourceProvenance': sourceProvenance!,
      if (workerPool != null) 'workerPool': workerPool!,
    };