refresh<T> method
- Refreshable<
T> state
Refresh the value of the provider within the current ProviderContainer obtained from the surrounding ProviderScope.
Implementation
T refresh<T>(Refreshable<T> state) {
final container = ProviderScope.containerOf(this, listen: false);
return container.refresh(state);
}