PrivacyZoneResult class

Result of applying privacy zone rules to a location.

Constructors

PrivacyZoneResult({required Location originalLocation, Location? processedLocation, List<PrivacyZone> matchedZones = const [], bool wasExcluded = false, bool wasObfuscated = false})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
isUsable bool
Whether the location can be used (not excluded).
no setter
matchedZones List<PrivacyZone>
The zones that matched this location.
final
originalLocation Location
The original location (before any modification).
final
processedLocation Location?
The processed location (may be obfuscated or null if excluded).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
wasAffected bool
Whether the location was affected by any privacy zone.
no setter
wasExcluded bool
Whether the location was excluded entirely.
final
wasObfuscated bool
Whether the location was obfuscated.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() JsonMap
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited