PolygonGeofenceEvent class

Event emitted when polygon geofence state changes.

Constructors

PolygonGeofenceEvent({required PolygonGeofence geofence, required PolygonGeofenceEventType type, required DateTime timestamp, GeoPoint? triggerLocation})
const
PolygonGeofenceEvent.fromMap(JsonMap map)
factory

Properties

geofence PolygonGeofence
The polygon geofence that triggered this event.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timestamp DateTime
Timestamp when the event occurred.
final
triggerLocation GeoPoint?
The location that triggered this event, if available.
final
type PolygonGeofenceEventType
The type of event (enter, exit, dwell).
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