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