getCoordinates method
- int part = 0,
Get marker coordinates list.
Parameters
- IN part The marker part index to which the function applies, default 0 (first part).
Returns
- Coordinates list
Throws
- An exception if it fails.
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;
}