removeGeolocation static method

Future<void> removeGeolocation(
  1. Geolocation geolocation,
  2. GeolocationEvent event
)

Stops listening to a geolocation for a certain geo-event

Implementation

static Future<void> removeGeolocation(
    Geolocation geolocation, GeolocationEvent event) {
  return _channel.invokeMethod("removeRegion", {
    "lng": geolocation.longitude,
    "lat": geolocation.latitude,
    "id": geolocation.id,
    "radius": geolocation.radius,
    "event": event.toString(),
  });
}