onExitGeofences method

Future<void> onExitGeofences(
  1. OnExitedGeofencesCallback callback
)

Implementation

Future<void> onExitGeofences(OnExitedGeofencesCallback callback) async {
  onExitedGeofencesCallback = callback;
  // Install the native listener only when it was explicitly required as it
  // supposes a computational costs.
  await methodChannel.invokeMethod('geofenceCallbacksRequested');
}