ArcGISRoute class final

A route object contains information about single route.

A class that contains the output from a route task for a single route. The route contains all necessary output from a successfully- completed route task solve. This includes the cost, shape, and additional metadata specific to the resulting route solution (e.g., route directions, local start/end time, etc.).

Implemented types

Properties

directionManeuvers List<DirectionManeuver>
Direction maneuver.
no setter
endTime DateTime?
End time.
no setter
endTimeShift double
Time zone shift for end time, in minutes.
no setter
hashCode int
The hash code for this object.
no setterinherited
routeGeometry Polyline?
Route's geometry.
no setter
routeName String
Route's name.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startTime DateTime?
Start time.
no setter
startTimeShift double
Time zone shift for start time in minutes.
no setter
stops List<Stop>
Stops.
no setter
totalLength double
Total length in meters.
no setter
totalTime double
Total time in minutes.
no setter
travelTime double
Travel time in minutes.
no setter
violationTime double
Violation time in minutes.
no setter
waitTime double
Wait time in minutes.
no setter

Methods

getCost({required String attributeName}) double
Gets cost.
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