event_bus library
Functions
-
getCurrentWatcher(
) → WatcherRaw? - Gets the current WatcherRaw.
-
restoreCurrentWatcher(
WatcherRaw? oldWatcher) → dynamic - Restores the current WatcherRaw.
-
setCurrentWatcher(
WatcherRaw? watcher) → WatcherRaw? - Sets the current WatcherRaw and returns the old one.