FlowContext class final

A FlowContext holds the information for the package's user to work with the workflow's information without modifying the workflow while it's running.

Constructors

FlowContext(void _setDepth(int value), int _getDepth(), {required StreamSink<Response> sink})

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sink StreamSink<Response>
The StreamSink for all Responses, that should be send to the user of the workflow.
final

Methods

close(String message) → void
Escapes the entire workflow.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pop(String message) → void
Escapes the current Bubble.
send(Response response) → void
Sends a Response to the consumer of the workflows communication (onData).
toString() String
A string representation of this object.
inherited

Operators

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