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'))
Inheritance
Annotations
  • @immutable

Constructors

NonBlocking(DslAction action)

Properties

action DslAction
final
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
toString() String
A string representation of this object.
override

Operators

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