getPathAt method

Path getPathAt(
  1. int index
)

Get the path specified by index.

Parameters

  • IN index The path index

Returns

  • The path

Throws

  • An exception if it fails.

Implementation

Path getPathAt(final int index) {
  final OperationResult resultString = objectMethod(
    _pointerId,
    'MapViewPathCollection',
    'getPathAt',
    args: index,
  );

  return Path.init(resultString['result'], _mapId);
}