GeofenceConfig class

Configuration for geofencing behavior.

Annotations

Constructors

GeofenceConfig({bool? geofenceInitialTriggerEntry, bool? geofenceInitialTrigger, int? geofenceProximityRadius, bool? geofenceModeHighAccuracy, int? geofenceExitAccuracyMax})
Creates a new GeofenceConfig with optional overrides.
const
GeofenceConfig.fromMap(Map<String, Object?> map)
Creates a GeofenceConfig from a map.
factory

Properties

geofenceExitAccuracyMax → int
Tunes the accuracy-aware geofence EXIT gating (high-accuracy mode only).
no setter
geofenceInitialTrigger → bool
Enable initial trigger evaluation for geofences on registration. Defaults to true.
no setter
geofenceInitialTriggerEntry → bool
Fire enter trigger immediately upon registration if device is already inside the geofence. Defaults to true.
no setter
geofenceModeHighAccuracy → bool
High-accuracy geofence mode.
no setter
geofenceProximityRadius → int
The radius (in meters) for proximity-based geofence loading. Only geofences within this distance are actively registered with the OS. Defaults to 1000.
no setter
hashCode → int
The hash code for this object.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

mergedWith(GeofenceConfig other) → GeofenceConfig
Applies every field other explicitly supplied on top of this config, leaving fields other left unset as they are here.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolved() → GeofenceConfig
Returns this config with every field pinned to its effective value.
toMap() → Map<String, Object?>
Serializes to a map.
toString() → String
A string representation of this object.
inherited
toTlConfig() → TlGeofenceConfig
Converts to Pigeon TlGeofenceConfig.

Operators

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