removeGeofence static method
Removes a Geofence having the given Geofence.identifier`.
Example
BackgroundGeolocation.removeGeofence("Home").then((bool success) {
print('[removeGeofence] success');
}).catchError((error) {
print('[removeGeofence] FAILURE: ${error}');
});
Implementation
static Future<bool> removeGeofence(String identifier) async {
return (await _methodChannel.invokeMethod<bool>(
'removeGeofence', identifier)) as FutureOr<bool>;
}