Geofence class
Data class to create geofence.
Constructors
-
Geofence.new({required String id, dynamic data, required double latitude, required double longitude, required List<
GeofenceRadius> radius})
Properties
- data → dynamic
-
Custom data for Geofence.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
Identifier for Geofence.
final
- latitude → double
-
The latitude of geofence center.
final
- longitude → double
-
The longitude of geofence center.
final
-
radius
→ List<
GeofenceRadius> -
The radius of geofence.
final
- remainingDistance → double?
-
Return the remaining distance.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → GeofenceStatus
-
Return the geofence status.
no setter
- timestamp → DateTime?
-
Return the timestamp.
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> - Return the internal field of the class in map format.
-
toString(
) → String -
A string representation of this object.
inherited
-
updateRemainingDistance(
double distance) → void - Update the remaining distance.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited