LevitStateExtension<T> extension
Internal helper to reuse LevitController's cleanup logic without inheritance. Ergonomic extensions for LevitState functional providers.
- on
-
- LevitState<
T>
- LevitState<
Methods
-
delete(
{String? tag, bool force = false}) → bool -
Available on LevitState<
Removes this provider instance from the active LevitScope.T> , provided by the LevitStateExtension extension -
find(
{String? tag}) → T -
Available on LevitState<
Resolves the current value of this provider from the active LevitScope.T> , provided by the LevitStateExtension extension -
findAsync(
{String? tag}) → Future< T> -
Available on LevitState<
Asynchronously resolves the value of this provider.T> , provided by the LevitStateExtension extension