removeListener method
void
removeListener()
Cancels the volume listener.
This method stops listening to volume changes and cleans up the listener.
Implementation
void removeListener() {
_volumeListener?.cancel();
_volumeListener = null;
}