toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (approval != null) 'approval': approval!,
  if (artifacts != null) 'artifacts': artifacts!,
  if (availableSecrets != null) 'availableSecrets': availableSecrets!,
  if (buildTriggerId != null) 'buildTriggerId': buildTriggerId!,
  if (createTime != null) 'createTime': createTime!,
  if (dependencies != null) 'dependencies': dependencies!,
  if (failureInfo != null) 'failureInfo': failureInfo!,
  if (finishTime != null) 'finishTime': finishTime!,
  if (gitConfig != null) 'gitConfig': gitConfig!,
  if (id != null) 'id': id!,
  if (images != null) 'images': images!,
  if (logUrl != null) 'logUrl': logUrl!,
  if (logsBucket != null) 'logsBucket': logsBucket!,
  if (name != null) 'name': name!,
  if (options != null) 'options': options!,
  if (projectId != null) 'projectId': projectId!,
  if (queueTtl != null) 'queueTtl': queueTtl!,
  if (results != null) 'results': results!,
  if (secrets != null) 'secrets': secrets!,
  if (serviceAccount != null) 'serviceAccount': serviceAccount!,
  if (source != null) 'source': source!,
  if (sourceProvenance != null) 'sourceProvenance': sourceProvenance!,
  if (startTime != null) 'startTime': startTime!,
  if (status != null) 'status': status!,
  if (statusDetail != null) 'statusDetail': statusDetail!,
  if (steps != null) 'steps': steps!,
  if (substitutions != null) 'substitutions': substitutions!,
  if (tags != null) 'tags': tags!,
  if (timeout != null) 'timeout': timeout!,
  if (timing != null) 'timing': timing!,
  if (warnings != null) 'warnings': warnings!,
};