addGeofence static method

Future<bool> addGeofence(
  1. 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;
}