copyWith method
CascadeOptions
copyWith({
- bool? dryRun,
- void onProgress()?,
- CancellationToken? cancellationToken,
- Duration? timeout,
- bool? allowPartialDeletes,
Implementation
CascadeOptions copyWith({
bool? dryRun,
void Function(CascadeProgress)? onProgress,
CancellationToken? cancellationToken,
Duration? timeout,
bool? allowPartialDeletes,
}) {
return CascadeOptions(
dryRun: dryRun ?? this.dryRun,
onProgress: onProgress ?? this.onProgress,
cancellationToken: cancellationToken ?? this.cancellationToken,
timeout: timeout ?? this.timeout,
allowPartialDeletes: allowPartialDeletes ?? this.allowPartialDeletes,
);
}