BackgroundTaskState constructor

const BackgroundTaskState({
  1. required String id,
  2. required BackgroundTaskType type,
  3. required TaskStatus status,
  4. required String description,
  5. String? command,
  6. String? title,
  7. String? summary,
  8. required DateTime startTime,
  9. bool isIdle = false,
  10. bool awaitingApproval = false,
  11. bool shutdownRequested = false,
  12. bool hasError = false,
  13. bool notified = true,
  14. bool isRemoteReview = false,
  15. bool isUltraplan = false,
  16. String? sessionId,
  17. TeammateIdentity? identity,
  18. TaskProgress? progress,
  19. String? kind,
})

Implementation

const BackgroundTaskState({
  required this.id,
  required this.type,
  required this.status,
  required this.description,
  this.command,
  this.title,
  this.summary,
  required this.startTime,
  this.isIdle = false,
  this.awaitingApproval = false,
  this.shutdownRequested = false,
  this.hasError = false,
  this.notified = true,
  this.isRemoteReview = false,
  this.isUltraplan = false,
  this.sessionId,
  this.identity,
  this.progress,
  this.kind,
});