@NonNull abstract fun withAvoidType(avoidType: Avoid!): IRouteQuery
Specifies what the route calculation should try to avoid when determining the route. Can be specified multiple times.
avoidType
- Avoid!:
Return
IRouteQuery: The route query.