D4rtTracking class
What "drained" waits for, and what revoke does with scheduled work.
Constructors
- D4rtTracking({bool entries = true, bool timers = false, bool periodicTimers = false, bool microtasks = false, D4rtRevokeAction onRevoke = D4rtRevokeAction.keep})
-
const
Properties
- entries → bool
-
Accepted entries until they (and their Futures) finish.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- microtasks → bool
-
scheduleMicrotask / Future microtasks.
final
- onRevoke → D4rtRevokeAction
-
final
- periodicTimers → bool
-
Periodic Timers; one counts as pending until it is cancelled.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timers → bool
-
One-shot Timers the run scheduled.
final
- tracksTasks → bool
-
Whether any task kind is tracked.
no setter
Methods
-
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
Static Methods
-
union(
List< D4rtTracking> list) → D4rtTracking -
What all of
listtrack together.
Constants
- entriesAndTimers → const D4rtTracking
- Entries, timers and periodic timers.
- entriesOnly → const D4rtTracking
-
Accepted entries only (the default). The specification called this
preset
entries; Dart cannot name a static like the entries field. - everything → const D4rtTracking
- Entries, timers, periodic timers and microtasks.
- everythingCancelOnRevoke → const D4rtTracking
- everything, and revoke cancels what has not started.