coordinates property

Coordinates get coordinates

Get the OverlayItem coordinates

Returns

  • The OverlayItem coordinates if they are available
  • Coordinates with Coordinates.isValid field false if the coordinates are not available

Throws

  • An exception if it fails

Implementation

Coordinates get coordinates {
  final OperationResult resultString = objectMethod(
    _pointerId,
    'OverlayItem',
    'coordinates',
  );

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