A controller which exposes APIs to update and complete the current flow.
FlowController(T state) : this._(state);