DVWorkflows class

The registry of actions a workflow may call, and the runner that executes one.

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
toString() → String
A string representation of this object.
inherited

Operators

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

Static Properties

actions → Set<String>
The action names currently callable.
no setter

Static Methods

registerAction(String name, Future<Object?> handler(Map<String, Object?> arguments)) → void
Registers an action a workflow step can call by name.
reset() → void
run(DVWorkflowDocument document, {Map<String, Object?> input = const <String, Object?>{}}) → Future<Object?>
Runs document with input bound to its parameters.