coordinates property
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
- A List<Coordinates> with the path's coordinates in order.
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;
}