AlarmMonitoredArea class
Represents a monitored geographic area with its identifier.
Used by AlarmService.monitoredAreas, AlarmService.insideAreas and AlarmService.outsideAreas to describe areas being monitored for boundary crossing events.
See also:
- AlarmService.monitorArea - Add a geographic area to monitor.
- GeographicArea - Defines rectangle, circle or polygon areas.
Constructors
- AlarmMonitoredArea({required GeographicArea area, required String id})
- Creates an AlarmMonitoredArea with the specified area and identifier.
-
AlarmMonitoredArea.fromJson(Map<
String, dynamic> json) -
Deserializes a JSON-compatible map to create an instance.
factory
Properties
- area → GeographicArea
-
The GeographicArea definition for this monitored area.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
Unique identifier for this monitored area.
final
- 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
-
toJson(
) → Map< String, dynamic> - Serializes this instance to a JSON-compatible map.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited