getCoordinates method
- int part = 0,
Return the coordinates for a specific part of the marker.
Parameters
part: Part index to query (default: 0).
Returns
- A List<Coordinates> containing the coordinates for the requested part.
Implementation
List<Coordinates> getCoordinates({final int part = 0}) {
final OperationResult resultString = objectMethod(
_pointerId,
'Marker',
'getCoordinates',
args: part,
);
final List<dynamic> listJson = resultString['result'];
final List<Coordinates> retList = listJson
.map((final dynamic categoryJson) => Coordinates.fromJson(categoryJson))
.toList();
return retList;
}