removePolyGeofenceById method

void removePolyGeofenceById(
  1. String id
)

Remove polygon geofence by id.

Implementation

void removePolyGeofenceById(String id) {
  _polyGeofenceList.removeWhere((polyGeofence) => polyGeofence.id == id);
  _printDevLog(
      'The PolyGeofence($id) has been removed. (size: ${_polyGeofenceList.length})');
}