removeLocationListener method

void removeLocationListener(
  1. LocationListener listener
)
override

Removes a LocationListener from the engine.

Implementation

void removeLocationListener(LocationListener listener) {
  LocationUpdateListenerBridge? bridge = _locationUpdateListeners.remove(listener);
  if (bridge == null) {
    return;
  }
  _location.removeLocationListener(bridge);
}