watch<N extends StateNotifier<S> , S> abstract method
N
watch<N extends StateNotifier<S> , S>(
- BaseStateNotifierProvider<
N, S> providerOrFilter, { - String? tag,
A function to read SimpleProvider or a StateProvider and subscribe to the events.
this method returns the Notifier linked to the provider
Implementation
N watch<N extends StateNotifier<S>, S>(
m.BaseStateNotifierProvider<N, S> providerOrFilter, {
String? tag,
});