addItineraryFromUserLocation method
- Coordinate coordinate, {
- bool avoidElevators = false,
- bool avoidEscalators = false,
- bool avoidStairs = false,
add itinerary from user location to the specified destination
Implementation
Future<void> addItineraryFromUserLocation(Coordinate coordinate,
{bool avoidElevators = false,
bool avoidEscalators = false,
bool avoidStairs = false}) async {
await _channel.invokeMethod('addItineraryFromUserLocation', {
"destination": coordinate.toMap(),
"avoidElevators": avoidElevators,
"avoidEscalators": avoidEscalators,
"avoidStairs": avoidStairs
});
}