addGeofence static method
Watches a circle; enter/exit works in the background on Android, iOS, macOS, Windows; Linux/web only while the app runs. ULocation.addGeofence(UGeofence(id: "home", latitude: 35.7, longitude: 51.4, radius: 200)) ยท background: permission add location-always
Implementation
static Future<bool> addGeofence(UGeofence fence) => ULocationChannel.addGeofence(fence);