clearTargets method

  1. @override
void clearTargets()
override

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

Example:

// Clear all targets
_routeManager!.clearTargets();

Implementation

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