copyWith method
LongTaskStatus
copyWith(
{ - String? ari,
- String? id,
- LongTaskStatusName? name,
- int? elapsedTime,
- int? percentageComplete,
- bool? successful,
- bool? finished,
- List<Message>? messages,
- String? status,
- List<Message>? errors,
- LongTaskStatusAdditionalDetails? additionalDetails,
})
Implementation
LongTaskStatus copyWith(
{String? ari,
String? id,
LongTaskStatusName? name,
int? elapsedTime,
int? percentageComplete,
bool? successful,
bool? finished,
List<Message>? messages,
String? status,
List<Message>? errors,
LongTaskStatusAdditionalDetails? additionalDetails}) {
return LongTaskStatus(
ari: ari ?? this.ari,
id: id ?? this.id,
name: name ?? this.name,
elapsedTime: elapsedTime ?? this.elapsedTime,
percentageComplete: percentageComplete ?? this.percentageComplete,
successful: successful ?? this.successful,
finished: finished ?? this.finished,
messages: messages ?? this.messages,
status: status ?? this.status,
errors: errors ?? this.errors,
additionalDetails: additionalDetails ?? this.additionalDetails,
);
}