JobInfo constructor

JobInfo({
  1. String? buildId,
  2. String? platform,
  3. String? version,
  4. JobStatus? status,
  5. Timestamp? startTime,
  6. Timestamp? endTime,
})

Implementation

factory JobInfo({
  $core.String? buildId,
  $core.String? platform,
  $core.String? version,
  JobStatus? status,
  $44.Timestamp? startTime,
  $44.Timestamp? endTime,
}) {
  final $result = create();
  if (buildId != null) {
    $result.buildId = buildId;
  }
  if (platform != null) {
    $result.platform = platform;
  }
  if (version != null) {
    $result.version = version;
  }
  if (status != null) {
    $result.status = status;
  }
  if (startTime != null) {
    $result.startTime = startTime;
  }
  if (endTime != null) {
    $result.endTime = endTime;
  }
  return $result;
}