off method

void off(
  1. Events event,
  2. Function handler
)

Removes a handler added with on.

Implementation

void off(Events event, Function handler) =>
    _streamEventEmitter.remove(event.parseToString(), handler);