addOrientationListener method
- OrientationListener listener
inherited
Implementation
void addOrientationListener(OrientationListener listener) {
if (!_orientationListeners.containsKey(listener)) {
_orientationListeners[listener] = OrientationListenerBridge(listener);
}
_location.addOrientationListener(_orientationListeners[listener]!);
}