toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (buildpackBuild != null) 'buildpackBuild': buildpackBuild!,
  if (dockerBuild != null) 'dockerBuild': dockerBuild!,
  if (imageUri != null) 'imageUri': imageUri!,
  if (machineType != null) 'machineType': machineType!,
  if (releaseTrack != null) 'releaseTrack': releaseTrack!,
  if (serviceAccount != null) 'serviceAccount': serviceAccount!,
  if (storageSource != null) 'storageSource': storageSource!,
  if (tags != null) 'tags': tags!,
  if (workerPool != null) 'workerPool': workerPool!,
};