as State Provider
Convenience function to create a StateProvider from any T value.
Return
A StateProvider that provides the T value.
Parameters
T
The type of the state.
Convenience function to create a StateProvider from any T value.
A StateProvider that provides the T value.
The type of the state.