removeListener method Null safety

void removeListener(
  1. void listener(
      )
    )

    Removes a listener from the service

    Implementation

    void removeListener(void Function() listener) {
      _listeners.remove(listener);
    }