ClosestFacilityRoute class final

A class that contains the output from a solving closest task for a single result.

The solving closest route contains all necessary output from a successfully- completed ClosestFacilityTask.solveClosestFacility. This includes the cost, geometry, and additional metadata specific to the resulting route solution (e.g., route directions, local start/end time, etc.).

Implemented types

Properties

arrivalCurbApproach → CurbApproach
Arrival curb approach.
no setter
departureCurbApproach → CurbApproach
Departure curb approach.
no setter
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
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
totalLength → double
Total length in meters.
no setter
totalTime → double
Total time in minutes.
no setter
travelTime → double
Travel 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