RunCondition mixin

A run condition for a Task.

A Task should not run if its RunCondition does not allow it.

Mixin Applications

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
postRun(TaskResult result) FutureOr<void>
Action to run after a task associated with this RunCondition has run, whether successfully or not.
shouldRun(TaskInvocation invocation) FutureOr<bool>
Check if the provided task invocation should run.
toString() String
A string representation of this object.
inherited

Operators

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