getCoordinate method
Return the coordinate located at index in part.
Parameters
index: Index within the part.part: Part index.
Returns
- The Coordinates object at the requested location. If the index or part are invalid then a coordinate with Coordinates.isValid false is returned.
Implementation
Coordinates getCoordinate(final int index, final int part) {
final OperationResult resultString = objectMethod(
_pointerId,
'Marker',
'getCoordinate',
args: <String, dynamic>{'first': index, 'second': part},
);
return Coordinates.fromJson(resultString['result']);
}