GeofenceTrigger class

The geofence transition that caused a Location to be recorded, delivered as Location.geofence.

A summary of the transition. Unlike GeofenceEvent, it carries no Location and no Geofence.

Constructors

GeofenceTrigger(dynamic trigger)

Properties

action ↔ String
The transition that fired the geofence (ENTER | EXIT | DWELL).
getter/setter pair
extras ↔ Map?
Optional Geofence.extras.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
identifier ↔ String
Geofence.identifier of the Geofence which fired.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
timestamp ↔ String
ISO-8601 UTC timestamp of the geofence transition.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
String representation of GeofenceTrigger for print to logs.
override

Operators

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