dispatch method

void dispatch (
  1. dynamic event
)

Implementation

void dispatch(event) {
  input.emit(event);
}