FlowContextController class final

Controls and contains the FlowContext for a workflow.

For creating a workflow a FlowContextController mus be provided.

Constructors

FlowContextController.observed(void onData(Response)?)
Constructs a FlowContextController with a broadcast synchronized StreamController.
factory

Properties

context FlowContext
The controllers FlowContext.
latefinal
currentStep Step?
TODO: Write documentation and implement current step fully
getter/setter pair
depth int
The current depth of the workflow, characterized through the nesting of Bubble.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
responses StreamController<Response>
Stream of the Responses send by the workflow to it's consumer.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() Future<Response>
Closes the workflow and it's FlowContextController.
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