IndoorDirectionRequest class

This Class represented API input structure to fetch indoor direction between two location Check docs for more details.

Implementers

Constructors

IndoorDirectionRequest({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 a new IndoorDirectionRequest object.
IndoorDirectionRequest.fromJson(Map<String, dynamic> json)
Creates IndoorDirectionRequest object from JSON Data Check docs for JSON structure.

Properties

avoid String?
a string with the format level;lat,lng;lat,lng;lat,lng...|level;lat,lng;lat,lng;lat,lng...
getter/setter pair
destination LatLng?
This is used to represent end point for direction
getter/setter pair
destinationId ↔ dynamic
Either <
getter/setter pair
destinationLevel int?
This represents floor for start point
getter/setter pair
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 pair
mode String?
Routing profile for using suitable path only
getter/setter pair
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 pair
origin LatLng?
This is used to represent start point for direction
getter/setter pair
originId ↔ dynamic
Either <
getter/setter pair
originLevel int?
This represents floor for start point
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
units UnitSystem?
Distance value unit
getter/setter pair
venueId String
Unique reference of Indoor venue
getter/setter pair
waypoints List<String>?
Waypoints of direction request. List of (<lat,lng,level>) or (
getter/setter pair

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
toString() String
A string representation of this object.
inherited

Operators

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