startNavigationWithCurrentItinerary method

Future<void> startNavigationWithCurrentItinerary({
  1. Color? color,
})

start the navigation using the current added itinerary

this method assumes that you already added an itinerary, so this will start navigation through that itinerary

Implementation

Future<void> startNavigationWithCurrentItinerary({Color? color}) async {
  print("wemapMap : startNavigationWithCurrentItinerary");
  await _channel.invokeMethod('startNavigationWithCurrentItinerary', {
    "red": color?.red,
    "green": color?.green,
    "blue": color?.blue,
    "alpha": color?.alpha,
  });
}