referenceCoordinates property

  1. @override
Coordinates get referenceCoordinates
override

Reference coordinates used for distance calculations.

The coordinates returned by this getter are used as the origin when computing the distance from each alarm item. Implementations typically return the current device reference position used by the AlarmService.

Returns

  • Coordinates: The reference coordinates for the alarm list.

Implementation

@override
Coordinates get referenceCoordinates {
  final OperationResult resultString = objectMethod(
    pointerId,
    'OverlayItemAlarmsList',
    'getReferenceCoordinates',
  );

  return Coordinates.fromJson(resultString['result']);
}