events property

Stream<NavigationEvent> get events

Asynchronous broadcast events; no replay or retention is implied. Closes on disposal. Use addListener for existing Router state notifications.

Implementation

Stream<NavigationEvent> get events {
  _checkAlive();
  return (_events ??= StreamController<NavigationEvent>.broadcast()).stream;
}