Geofence class
Circular Geofence class provided to BackgroundGeolocation.addGeofence, BackgroundGeolocation.addGeofences
Constructors
Properties
-
extras
↔ Map<
String, dynamic> ? -
Arbitrary key/values appended to the recorded geofence record.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- identifier ↔ String
-
Unique identifier.
getter/setter pair
- latitude ↔ double?
-
Latitude of the Geofence center.
getter/setter pair
- loiteringDelay ↔ int?
-
The number of milliseconds the device must remain within geofence before firing notifyOnDwell event.
getter/setter pair
- longitude ↔ double?
-
Longitude of the Geofence center.
getter/setter pair
- notifyOnDwell ↔ bool?
-
Set
true
to fire only after remaining withing geofence for loiteringDelay milliseconds.getter/setter pair - notifyOnEntry ↔ bool?
-
Set
true
to fire on entering the geofence.getter/setter pair - notifyOnExit ↔ bool?
-
Set
true
fire on exiting the geofence.getter/setter pair - radius ↔ double?
-
Circular geofence radius.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
vertices
↔ List<
List< ?double> > -
Optional: a list of vertices (
[ [lat, lng],...]
) defining a Polygon geofence. By default, geofences are circular.getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
Return
Geofence
asMap
. -
toString(
) → String -
String representation of
Geofence
forprint
to log.override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited