JobStatus constructor

  1. @JsonSerializable(includeIfNull: false)
const JobStatus({
  1. @Default('app.bsky.video.defs#jobStatus') String $type,
  2. required String jobId,
  3. required String did,
  4. @JobStatusStateConverter() required JobStatusState state,
  5. int? progress,
  6. @BlobConverter() Blob? blob,
  7. String? error,
  8. String? message,
  9. Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory JobStatus({
  @Default('app.bsky.video.defs#jobStatus') String $type,
  required String jobId,
  required String did,

  /// The state of the video processing job. All values not listed as a known value indicate that the job is in process.
  @JobStatusStateConverter() required JobStatusState state,

  /// Progress within the current processing state.
  int? progress,
  @BlobConverter() Blob? blob,
  String? error,
  String? message,

  Map<String, dynamic>? $unknown,
}) = _JobStatus;