getMatchingZones method

List<PrivacyZone> getMatchingZones(
  1. Location location
)

Gets all zones that contain the given location.

Implementation

List<PrivacyZone> getMatchingZones(Location location) {
  return enabledZones
      .where((z) => z.containsLocationObject(location))
      .toList();
}