removeOrientationListener method
- OrientationListener listener
override
Removes an OrientationListener from the engine.
listenerThe listener to be removed.
Implementation
void removeOrientationListener(OrientationListener listener) {
OrientationListenerBridge? bridge = _orientationListeners.remove(listener);
if (bridge == null) {
return;
}
_location.removeOrientationListener(bridge);
}