copyWith method
TaskProgressBeanObject
copyWith(
{ - String? description,
- int? elapsedRuntime,
- int? finished,
- String? id,
- int? lastUpdate,
- String? message,
- int? progress,
- dynamic result,
- String? self,
- int? started,
- TaskProgressBeanObjectStatus? status,
- int? submitted,
- int? submittedBy,
})
Implementation
TaskProgressBeanObject copyWith(
{String? description,
int? elapsedRuntime,
int? finished,
String? id,
int? lastUpdate,
String? message,
int? progress,
dynamic result,
String? self,
int? started,
TaskProgressBeanObjectStatus? status,
int? submitted,
int? submittedBy}) {
return TaskProgressBeanObject(
description: description ?? this.description,
elapsedRuntime: elapsedRuntime ?? this.elapsedRuntime,
finished: finished ?? this.finished,
id: id ?? this.id,
lastUpdate: lastUpdate ?? this.lastUpdate,
message: message ?? this.message,
progress: progress ?? this.progress,
result: result ?? this.result,
self: self ?? this.self,
started: started ?? this.started,
status: status ?? this.status,
submitted: submitted ?? this.submitted,
submittedBy: submittedBy ?? this.submittedBy,
);
}