TrafficLineModel constructor

const TrafficLineModel({
  1. required double routeLength,
  2. required double routeProgress,
  3. required double? routePosition,
  4. required List<GeoPointRouteEntry> intermediatePoints,
  5. required List<TrafficSpeedColorRouteLongEntry> speedColors,
  6. required List<RoadEventRouteEntry> roadEvents,
})

Implementation

const TrafficLineModel({
  required this.routeLength,
  required this.routeProgress,
  required this.routePosition,
  required this.intermediatePoints,
  required this.speedColors,
  required this.roadEvents,
});