BuildEventData constructor

BuildEventData({
  1. String? id,
  2. BuildEventData_Status? status,
  3. Source? source,
  4. Timestamp? createTime,
  5. Timestamp? startTime,
  6. Timestamp? finishTime,
  7. Results? results,
  8. Iterable<BuildStep>? steps,
  9. Duration? timeout,
  10. Iterable<String>? images,
  11. String? projectId,
  12. String? logsBucket,
  13. SourceProvenance? sourceProvenance,
  14. String? buildTriggerId,
  15. BuildOptions? options,
  16. String? statusDetail,
  17. String? logUrl,
  18. Map<String, String>? substitutions,
  19. Iterable<String>? tags,
  20. Iterable<Secret>? secrets,
  21. Map<String, TimeSpan>? timing,
  22. Artifacts? artifacts,
  23. Duration? queueTtl,
})

Implementation

factory BuildEventData({
  $core.String? id,
  BuildEventData_Status? status,
  Source? source,
  $2.Timestamp? createTime,
  $2.Timestamp? startTime,
  $2.Timestamp? finishTime,
  Results? results,
  $core.Iterable<BuildStep>? steps,
  $10.Duration? timeout,
  $core.Iterable<$core.String>? images,
  $core.String? projectId,
  $core.String? logsBucket,
  SourceProvenance? sourceProvenance,
  $core.String? buildTriggerId,
  BuildOptions? options,
  $core.String? statusDetail,
  $core.String? logUrl,
  $core.Map<$core.String, $core.String>? substitutions,
  $core.Iterable<$core.String>? tags,
  $core.Iterable<Secret>? secrets,
  $core.Map<$core.String, TimeSpan>? timing,
  Artifacts? artifacts,
  $10.Duration? queueTtl,
}) {
  final $result = create();
  if (id != null) {
    $result.id = id;
  }
  if (status != null) {
    $result.status = status;
  }
  if (source != null) {
    $result.source = source;
  }
  if (createTime != null) {
    $result.createTime = createTime;
  }
  if (startTime != null) {
    $result.startTime = startTime;
  }
  if (finishTime != null) {
    $result.finishTime = finishTime;
  }
  if (results != null) {
    $result.results = results;
  }
  if (steps != null) {
    $result.steps.addAll(steps);
  }
  if (timeout != null) {
    $result.timeout = timeout;
  }
  if (images != null) {
    $result.images.addAll(images);
  }
  if (projectId != null) {
    $result.projectId = projectId;
  }
  if (logsBucket != null) {
    $result.logsBucket = logsBucket;
  }
  if (sourceProvenance != null) {
    $result.sourceProvenance = sourceProvenance;
  }
  if (buildTriggerId != null) {
    $result.buildTriggerId = buildTriggerId;
  }
  if (options != null) {
    $result.options = options;
  }
  if (statusDetail != null) {
    $result.statusDetail = statusDetail;
  }
  if (logUrl != null) {
    $result.logUrl = logUrl;
  }
  if (substitutions != null) {
    $result.substitutions.addAll(substitutions);
  }
  if (tags != null) {
    $result.tags.addAll(tags);
  }
  if (secrets != null) {
    $result.secrets.addAll(secrets);
  }
  if (timing != null) {
    $result.timing.addAll(timing);
  }
  if (artifacts != null) {
    $result.artifacts = artifacts;
  }
  if (queueTtl != null) {
    $result.queueTtl = queueTtl;
  }
  return $result;
}