cancelTarget method

  1. @override
void cancelTarget()
override

Method is used for removing current target points to where the routes were built.

Example:

// Cancel current target
_routeManager!.cancelTarget();

Implementation

@override
void cancelTarget() {
    final _cancelTargetFfi = __lib.catchArgumentError(() => __lib.nativeLibrary.lookupFunction<
        Void Function(Pointer<Void>, ),
        void Function(Pointer<Void>, )
      >('navigine_sdk_flutter_RouteManager_cancelTarget'));
    final _handle = this.handle;
    _cancelTargetFfi(_handle, );
}