off method

void off()

Implementation

void off() {
  if (_listen) {
    emitter.removeListener(callback);
    _listen = false;
  }
}