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