copyWith method

LongTaskStatusWithLinksAdditionalDetails copyWith({
  1. String? destinationId,
  2. String? destinationUrl,
  3. int? totalPageNeedToCopy,
  4. String? additionalProperties,
})

Implementation

LongTaskStatusWithLinksAdditionalDetails copyWith(
    {String? destinationId,
    String? destinationUrl,
    int? totalPageNeedToCopy,
    String? additionalProperties}) {
  return LongTaskStatusWithLinksAdditionalDetails(
    destinationId: destinationId ?? this.destinationId,
    destinationUrl: destinationUrl ?? this.destinationUrl,
    totalPageNeedToCopy: totalPageNeedToCopy ?? this.totalPageNeedToCopy,
    additionalProperties: additionalProperties ?? this.additionalProperties,
  );
}