removeGeofenceById method

void removeGeofenceById(
  1. String id
)

Remove geofence by id.

Implementation

void removeGeofenceById(String id) {
  _geofenceList.removeWhere((geofence) => geofence.id == id);
  _printDevLog(
      'The Geofence($id) has been removed. (size: ${_geofenceList.length})');
}