DirectionsRequest class

Parameters to request a route.

Constructors

DirectionsRequest({required Point from, required Point to, String? poiToIdentifier, Angle? bearingFrom, bool? minimizeFloorChanges, AccessibilityMode? accessibilityMode, String destinationIdentifier = EMPTY_ID, String destinationCategory = CATEGORY_LOCATION, String originIdentifier = EMPTY_ID, String originCategory = CATEGORY_LOCATION})

Properties

accessibilityMode AccessibilityMode?
getter/setter pair
bearingFrom Angle?
getter/setter pair
buildingIdentifier String
getter/setter pair
destinationCategory String
Informs us of the type of the destination Point, which can be a CATEGORY_POI or a CATEGORY_LOCATION.
getter/setter pair
destinationIdentifier String
Identifier of the route destination. Can be EMPTY_ID if destinationCategory is CATEGORY_LOCATION.
getter/setter pair
from Point
final
hashCode int
The hash code for this object.
no setterinherited
minimizeFloorChanges bool?
getter/setter pair
originCategory String
Informs us of the type of the origin Point, which can be a CATEGORY_POI or a CATEGORY_LOCATION.
getter/setter pair
originIdentifier String
Identifier of the route destination. Can be EMPTY_ID if originCategory is CATEGORY_LOCATION.
getter/setter pair
poiToIdentifier String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
to Point
final

Methods

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

Operators

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

Constants

CATEGORY_LOCATION → const String
CATEGORY_POI → const String
EMPTY_ID → const String