emit method

void emit(
  1. Enum eventName, [
  2. dynamic param
])

Triggers eventName event with or without the param given.

Implementation

void emit(Enum eventName, [dynamic param]) {
  Reactter.emit(_instanceReceived, eventName, param);
}