addGeofence static method
- Geofence geofence
Adds a single geofence.
Implementation
static Future<bool> addGeofence(Geofence geofence) async {
final result = await LocusChannels.methods
.invokeMethod('addGeofence', geofence.toMap());
return result == true;
}