coordinates property

List<Coordinates> get coordinates

Get read-only access to the internal coordinates list.

Read-only access to the list of Coordinates composing this path.

Modifying the returned list does not affect the current object.

Returns

Implementation

List<Coordinates> get coordinates {
  final OperationResult resultString = objectMethod(
    pointerId,
    'Path',
    'getCoordinates',
  );

  final List<dynamic> listJson = resultString['result'];
  final List<Coordinates> retList = listJson
      .map((final dynamic categoryJson) => Coordinates.fromJson(categoryJson))
      .toList();
  return retList;
}