setTarget method
Method is used to set target point in your location.
Through RouteListener you will be notified about new paths to target point.
target finish LocationPoint.
Example:
// Set target point
_routeManager!.setTarget(endLocationPoint);
Implementation
@override
void setTarget(LocationPoint target) {
final _setTargetFfi = __lib.catchArgumentError(() => __lib.nativeLibrary.lookupFunction<
Void Function(Pointer<Void>, Pointer<Void>),
void Function(Pointer<Void>, Pointer<Void>)
>('navigine_sdk_flutter_RouteManager_setTarget__Target'));
final _targetHandle = navigine_sdk_flutter_LocationPoint_ToFfi(target);
final _handle = this.handle;
_setTargetFfi(_handle, _targetHandle);
navigine_sdk_flutter_LocationPoint_ReleaseFfiHandle(_targetHandle);
}