geofenceEvents static method

Stream<UGeofenceEvent> geofenceEvents()

Enter/exit events, including ones that happened while the app was closed. ULocation.geofenceEvents().listen((e) => UNotification.show(1, title: "Welcome home"))

Implementation

static Stream<UGeofenceEvent> geofenceEvents() => ULocationChannel.geofenceEvents();