removeListener method
void
removeListener()
This method for canceling volume listener
Implementation
void removeListener() {
_volumeListener?.cancel();
}
This method for canceling volume listener
void removeListener() {
_volumeListener?.cancel();
}