coordinates property

List<Coordinates> get coordinates

Get read-only access to the internal coordinates list.

Returns

  • The coordinates list

Throws

  • An exception if it fails.

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;
}