copyWith method
TaskStatusUpdate
copyWith({
- Task? task,
- TaskStatus? status,
- TaskException? exception,
- String? responseBody,
- Map<
String, String> ? responseHeaders, - int? responseStatusCode,
- String? mimeType,
- String? charSet,
Implementation
TaskStatusUpdate copyWith(
{Task? task,
TaskStatus? status,
TaskException? exception,
String? responseBody,
Map<String, String>? responseHeaders,
int? responseStatusCode,
String? mimeType,
String? charSet}) =>
TaskStatusUpdate(
task ?? this.task,
status ?? this.status,
exception ?? this.exception,
responseBody ?? this.responseBody,
responseHeaders ?? this.responseHeaders,
responseStatusCode ?? this.responseStatusCode,
mimeType ?? this.mimeType,
charSet ?? this.charSet);