triggerEvent method

void triggerEvent(
  1. String name,
  2. dynamic event
)

Implementation

void triggerEvent(String name, dynamic event) {
  _eventController[name]?.add(event);
}