Export constructor

Export({
  1. String? id,
  2. String? projectId,
  3. Export_Status? status,
  4. String? error,
  5. String? sourcePath,
  6. String? outputPath,
  7. int? progress,
  8. Timestamp? created,
  9. Timestamp? updated,
})

Implementation

factory Export({
  $core.String? id,
  $core.String? projectId,
  Export_Status? status,
  $core.String? error,
  $core.String? sourcePath,
  $core.String? outputPath,
  $core.int? progress,
  $6.Timestamp? created,
  $6.Timestamp? updated,
}) {
  final $result = create();
  if (id != null) {
    $result.id = id;
  }
  if (projectId != null) {
    $result.projectId = projectId;
  }
  if (status != null) {
    $result.status = status;
  }
  if (error != null) {
    $result.error = error;
  }
  if (sourcePath != null) {
    $result.sourcePath = sourcePath;
  }
  if (outputPath != null) {
    $result.outputPath = outputPath;
  }
  if (progress != null) {
    $result.progress = progress;
  }
  if (created != null) {
    $result.created = created;
  }
  if (updated != null) {
    $result.updated = updated;
  }
  return $result;
}