getCoordinatesCount method

int getCoordinatesCount({
  1. int part = 0,
})

Returns the number of coordinates in the specified part.

Parameters

  • part: Part index to query (default: 0).

Returns

  • The coordinates count for the requested part. If the part is invalid an error code (GemError.invalidInput.code) may be returned.

Implementation

int getCoordinatesCount({final int part = 0}) {
  final OperationResult resultString = objectMethod(
    _pointerId,
    'Marker',
    'getCoordinatesCount',
    args: part,
  );
  return resultString['result'];
}