unbindEventListeners method

  1. @override
void unbindEventListeners()
override

Unbinds all the eventListeners This method needs to be implemented in subclasses

Implementation

@override
void unbindEventListeners() {
  for (var stream in eventListeners) {
    stream.cancel();
  }
}