onGeofence abstract method

StreamSubscription<GeofenceEvent> onGeofence(
  1. void callback(
    1. GeofenceEvent
    ), {
  2. Function? onError,
})

Subscribes to geofence events.

Implementation

StreamSubscription<GeofenceEvent> onGeofence(
  void Function(GeofenceEvent) callback, {
  Function? onError,
});