state<T extends Object> method

Future<T> state<T extends Object>()

The application state of type T attached with withState.

Missing state is a 500: the handler cannot run, and the fault is a composition mistake rather than anything the client did.

Implementation

Future<T> state<T extends Object>() => extractors.state<T>().require(this);