getCoordinate method

Coordinates getCoordinate(
  1. int index,
  2. int part
)

Get coordinate from the given part, at the given index

Parameters

  • IN index The marker index to which the function applies
  • IN part The marker part index to which the function applies

Returns

Coordinates object located at the specified index in the part

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']);
}