TrafficOnSpan class

Traffic information of a span along a route.

Constructors

TrafficOnSpan()

Properties

baseSpeedInMetersPerSecond ↔ double
The speed, in meters per second, without taking traffic into consideration.
getter/setter pair
consumptionInKilowattHours ↔ double?
The power consumption in kilowatt-hours (kWh) necessary to traverse the span.
getter/setter pair
duration ↔ Duration
The time duration necessary to traverse the traffic span. This duration takes also into consideration the delays caused by the traffic.
getter/setter pair
hashCode → int
The hash code for this object.
no setter
incidentIndices ↔ List<int>
The indices of traffic incidents from the field TrafficOnSection.trafficIncidents.
getter/setter pair
jamFactor ↔ double
The traffic jam factor shows the traffic condition in a numeric way. It is a value in the range [0.0, 10.0]. A large jamFactor value means more traffic jam in general. Specifically, 0.0 means free traffic and 10.0 means stationary traffic.
getter/setter pair
lengthInMeters ↔ double
Length of the traffic span, in meters.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
trafficDelay ↔ Duration
The estimated extra time in seconds spent due to traffic delays along this traffic span. Negative values indicate that the traffic span can be traversed faster than usual.
getter/setter pair
trafficSectionPolylineOffset ↔ int
Index over TrafficOnSection.geometry where this span starts.
getter/setter pair
trafficSpeedInMetersPerSecond ↔ double
The speed, in meters per second, considering traffic.
getter/setter pair

Methods

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.