addEvents method

dynamic addEvents(
  1. Map<Type, NyEvent> events
)

Implementation

addEvents(Map<Type, NyEvent> events) async {
  if (this.router == null) {
    _events = {};
  }
  _events.addAll(events);
}