TrafficLineModel class
- Annotations
Constructors
-
TrafficLineModel.new({required double routeLength, required double routeProgress, required double? routePosition, required List<
GeoPointRouteEntry> intermediatePoints, required List<TrafficSpeedColorRouteLongEntry> speedColors, required List<RoadEventRouteEntry> roadEvents}) -
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
-
intermediatePoints
→ List<
GeoPointRouteEntry> -
final
-
roadEvents
→ List<
RoadEventRouteEntry> -
final
- routeLength → double
-
final
- routePosition → double?
-
final
- routeProgress → double
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
speedColors
→ List<
TrafficSpeedColorRouteLongEntry> -
final
Methods
-
copyWith(
{double? routeProgress, double? routePosition()?, double? routeLength, List< GeoPointRouteEntry> ? intermediatePoints, List<TrafficSpeedColorRouteLongEntry> ? speedColors, List<RoadEventRouteEntry> ? roadEvents}) → TrafficLineModel -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override