GeofenceConfig class

Geofencing settings.

Annotations

Constructors

GeofenceConfig({int geofenceProximityRadius = 1000, bool geofenceInitialTriggerEntry = true, bool geofenceModeKnockOut = false})
Creates a new GeofenceConfig with optional overrides.
const
GeofenceConfig.fromMap(Map<String, Object?> map)
Creates a GeofenceConfig from a map.
factory

Properties

geofenceInitialTriggerEntry bool
If true, immediately fire an ENTER event for geofences the device is already inside when monitoring starts. Defaults to true.
final
geofenceModeKnockOut bool
If true, a geofence that fires an EXIT event is automatically removed. Defaults to false.
final
geofenceProximityRadius int
The radius (in meters) used to activate geofences near the device's current position. Larger values consume more battery as more geofences are actively monitored. Defaults to 1000.
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, Object?>
Serializes to a map.
toString() String
A string representation of this object.
override

Operators

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