isLocationAffected method

bool isLocationAffected(
  1. Location location
)

Checks if a location would be affected by any privacy zone.

Implementation

bool isLocationAffected(Location location) {
  for (final zone in enabledZones) {
    if (zone.containsLocationObject(location)) {
      return true;
    }
  }
  return false;
}