TripSummaryModel
class TripSummaryModel
The model for the trip summary card.
Parameters
traveledToRemainingRatio
the traveled to remaining ratio.
legDistanceRemaining
the distance remaining for the leg.
legTimeRemaining
the time remaining for the leg.
legArrivalTime
the arrival time for the leg.
isOffline
true if the trip is offline.
legStateOfCharge
the state of charge by the end of the leg.
trafficGradientStops
the traffic gradient, used to color the traffic bar.
waypointsData
the list of waypoint on the trip.