DirectionParameter class

This Class represented API input structure to fetch indoor direction between two location. It has been deprecated. Please use IndoorDirectionRequest.

Inheritance

Constructors

DirectionParameter({required String venueId, LatLng? origin, int? originLevel, dynamic originId, LatLng? destination, int? destinationLevel, dynamic destinationId, String? language, UnitSystem? units, String? mode, List<String>? waypoints, String? avoid, bool? optimize})
Default constructor. Creates DirectionParameter object.
DirectionParameter.fromJson(Map<String, dynamic> json)
Creates DirectionParameter object from JSON Data
factory

Properties

avoid String?
a string with the format level;lat,lng;lat,lng;lat,lng...|level;lat,lng;lat,lng;lat,lng...
getter/setter pairinherited
destination LatLng?
This is used to represent end point for direction
getter/setter pairinherited
destinationId ↔ dynamic
Either <
getter/setter pairinherited
destinationLevel int?
This represents floor for start point
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
language String?
You can specify language to direction instruction should appear Default will be en
getter/setter pairinherited
mode String?
Routing profile for using suitable path only
getter/setter pairinherited
optimize bool?
Optionally, you may pass optimize:true with the waypoints parameter. This way the provided route is optimized by rearranging the waypoints in a more efficient order
getter/setter pairinherited
origin LatLng?
This is used to represent start point for direction
getter/setter pairinherited
originId ↔ dynamic
Either <
getter/setter pairinherited
originLevel int?
This represents floor for start point
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
units UnitSystem?
Distance value unit
getter/setter pairinherited
venueId String
Unique reference of Indoor venue
getter/setter pairinherited
waypoints List<String>?
Waypoints of direction request. List of (<lat,lng,level>) or (
getter/setter pairinherited

Methods

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

Operators

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