addTarget method
@brief Method is used to add target point in your location. Through @see RouteListener "RouteListener" you will be notified about new paths to target point. @param target finish @see LocationPoint "LocationPoint".
Dart code snippet: @snippet route_manager_example.dart dart_RouteManager_addTarget
Implementation
@override
void addTarget(LocationPoint target) {
final _addTargetFfi = __lib.catchArgumentError(() => __lib.nativeLibrary.lookupFunction<
Void Function(Pointer<Void>, Pointer<Void>),
void Function(Pointer<Void>, Pointer<Void>)
>('navigine_sdk_flutter_RouteManager_addTarget__Target'));
final _targetHandle = navigine_sdk_flutter_LocationPoint_ToFfi(target);
final _handle = this.handle;
_addTargetFfi(_handle, _targetHandle);
navigine_sdk_flutter_LocationPoint_ReleaseFfiHandle(_targetHandle);
}