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>, LocationPointNative),
void Function(Pointer<Void>, LocationPointNative)
>('navigine_sdk_flutter_RouteManager_setTarget__Target'));
_setTargetFfi(this.ptr, LocationPointImpl.toNative(target));
exception.checkCallResult();
}