CascadeOptions class

Configuration for cascade delete operations.

Constructors

CascadeOptions({bool dryRun = false, void onProgress(CascadeProgress)?, CancellationToken? cancellationToken, Duration timeout = const Duration(seconds: 30), bool allowPartialDeletes = false})
const

Properties

allowPartialDeletes → bool
final
cancellationToken → CancellationToken?
final
dryRun → bool
final
hashCode → int
The hash code for this object.
no setterinherited
onProgress → void Function(CascadeProgress)?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
timeout → Duration
final

Methods

copyWith({bool? dryRun, void onProgress(CascadeProgress)?, CancellationToken? cancellationToken, Duration? timeout, bool? allowPartialDeletes}) → CascadeOptions
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited