read<N extends StateNotifier> method
Obtain a value from the nearest ancestor provider of type StateNotifier.
Implementation
N read<N extends StateNotifier>({bool listen = false}) =>
Provider.of<N>(this, listen: listen);