maybeWatch<T extends JioNotifier> method

T? maybeWatch<T extends JioNotifier>()

Synchronous access to the notifier if already created, else null

Implementation

T? maybeWatch<T extends JioNotifier>() {
  final provider = dependOnInheritedWidgetOfExactType<BasicJioProvider<T>>();
  return provider?.notifier;
}