of method
Implementation
T? of(BuildContext context) {
return context
.dependOnInheritedWidgetOfExactType<StateProvider<T>>()
?.notifier;
}
T? of(BuildContext context) {
return context
.dependOnInheritedWidgetOfExactType<StateProvider<T>>()
?.notifier;
}