removeListener method

void removeListener(
  1. BlocListener callback
)

Removes a callback function from the list

Implementation

void removeListener(BlocListener callback) {
  _eventListeners.remove(callback);
}