removeLocationStatusListener method

void removeLocationStatusListener(
  1. LocationStatusListener listener
)
inherited

Removes a LocationStatusListener from the engine.

Implementation

void removeLocationStatusListener(LocationStatusListener listener) {
  LocationStatusListenerBridge? bridge = _locationStatusListeners.remove(
    listener,
  );
  if (bridge == null) {
    return;
  }
  _location.removeLocationStatusListener(bridge);
}