input<TInput extends Object> method
Registers a callback that converts the future's success value into an input for the logic block.
Implementation
StatefulFuture<T> input<TInput extends Object>(
TInput Function(T value) toInput,
) {
_onSuccess = (value) => _inputIfRunning<TInput>(toInput(value));
return this;
}