insideAreas property

List<AlarmMonitoredArea> get insideAreas

Monitored areas containing the current reference position.

For this list to be non-empty the device must be inside at least one monitored area and must move or change position within that area.

Returns

  • List<AlarmMonitoredArea>: List of areas the device is currently inside.

See also:

Implementation

List<AlarmMonitoredArea> get insideAreas {
  final OperationResult result = objectMethod(
    _pointerId,
    'AlarmService',
    'getInsideAreas',
  );

  final List<dynamic> res = result['result'];
  return res
      .map((final dynamic item) => AlarmMonitoredArea.fromJson(item))
      .toList();
}