BackgroundTaskState constructor
const
BackgroundTaskState({
- required String id,
- required BackgroundTaskType type,
- required TaskStatus status,
- required String description,
- String? command,
- String? title,
- String? summary,
- required DateTime startTime,
- bool isIdle = false,
- bool awaitingApproval = false,
- bool shutdownRequested = false,
- bool hasError = false,
- bool notified = true,
- bool isRemoteReview = false,
- bool isUltraplan = false,
- String? sessionId,
- TeammateIdentity? identity,
- TaskProgress? progress,
- 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,
});