ValhallaRequest class

Constructors

ValhallaRequest({String? id, required List<LngLat> waypoints, List<LngLat>? excludeLocations, List? excludePolygones, ValhallaDirectionsType directionsType = ValhallaDirectionsType.instructions, BaseCostingOption? costingOption, Costing costing = Costing.auto, ValhallaUnit units = ValhallaUnit.km, Languages languages = Languages.en, DateTime? time, ValhallaFormat valhallaFormat = ValhallaFormat.json, Geometries? valhallaShapeFormat, bool? bannerInstructions, bool? voiceInstructions, int alternatives = 2})

Properties

alternatives int
finalinherited
bannerInstructions bool?
final
costing → Costing
final
costingOption → BaseCostingOption?
final
directionsType → ValhallaDirectionsType
final
excludeLocations List<LngLat>?
final
excludePolygones List?
final
hashCode int
The hash code for this object.
no setterinherited
id String?
final
languages Languages
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
time DateTime?
final
units → ValhallaUnit
final
valhallaFormat → ValhallaFormat
final
valhallaShapeFormat Geometries?
final
voiceInstructions bool?
final
waypoints List<LngLat>
finalinherited

Methods

encodeHeader() Map<String, dynamic>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited