off method

void off(
  1. String eventName,
  2. Function callback
)

Implementation

void off(String eventName, Function callback) =>
    removeListener(eventName, callback);