NonBlocking class final
Wrap a single action and mark it as non-blocking.
Use this only for side-effect work that should not block the surrounding chain. The wrapped action still runs on every rerun, so it should be safe to repeat if the trigger fires again.
Example:
NonBlocking(Snackbar('Saved in background'))
Constructors
- NonBlocking(DslAction action)
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited