getEvent method

NyEvent? getEvent(
  1. Type event
)

Return an event.

Implementation

NyEvent? getEvent(Type event) {
  assert(_events.containsKey(event),
      "Your events.dart file doesn't contain ${event.toString()}");
  return _events[event];
}