addItineraryFromMapCenter method
- required Coordinate destination,
 - ItinerarySearchOptions? searchOptions,
 - Color? color,
 
add itinerary from map center to the specified destination
Implementation
Future<void> addItineraryFromMapCenter(
    {required Coordinate destination,
    ItinerarySearchOptions? searchOptions,
    Color? color}) async {
  ItineraryWidget._startPointType = ItineraryStartPointType.mapCenter;
  await _channel.invokeMethod('addItineraryFromMapCenter', {
    "destination": destination.toMap(),
    "searchOptions":
        searchOptions?.toMap() ?? ItinerarySearchOptions().toMap(),
    "red": color?.red,
    "green": color?.green,
    "blue": color?.blue,
    "alpha": color?.alpha,
  });
}