VirtualTimePolicy enum
advance: If the scheduler runs out of immediate work, the virtual time base may fast forward to allow the next delayed task (if any) to run; pause: The virtual time base may not advance; pauseIfNetworkFetchesPending: The virtual time base may not advance if there are any pending resource fetches.
Values
- advance → const VirtualTimePolicy
-
const VirtualTimePolicy('advance')
- pause → const VirtualTimePolicy
-
const VirtualTimePolicy('pause')
- pauseIfNetworkFetchesPending → const VirtualTimePolicy
-
const VirtualTimePolicy('pauseIfNetworkFetchesPending')
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
VirtualTimePolicy> - A constant List of the values in this enum, in order of their declaration.