points property

List<LocationPoint> get points
override

@brief List of consecutive points. @see LocationPoint.

@note points could be on different sublocations if target sublocation is different from the starting one

Dart code snippet: @snippet route_manager_example.dart dart_RoutePath_getPoints

Implementation

List<LocationPoint> get points {
    final _getFfi = __lib.catchArgumentError(() => __lib.nativeLibrary.lookupFunction<
        Pointer<Void> Function(Pointer<Void>),
        Pointer<Void> Function(Pointer<Void>)
      >('navigine_sdk_flutter_RoutePath_points_get'));

    final _handle = this.handle;
    final _pointsHandle = _getFfi(_handle);
    final _result = navigine_sdk_flutter_List_LocationPoint_FromFfi(_pointsHandle);
    navigine_sdk_flutter_List_LocationPoint_ReleaseFfiHandle(_pointsHandle);
    return _result;
}