TripSummaryModel
data class TripSummaryModel(val traveledToRemainingRatio: Float, val legDistanceRemaining: String, val legTimeRemaining: String, val legArrivalTime: String, val preferredRemainingArrivalMetricType: RemainingArrivalMetricType, val isOffline: Boolean, val legStateOfCharge: Int? = null, val trafficGradientStops: List<Pair<Float, Color?>> = emptyList(), val waypointsData: List<WaypointData> = emptyList())
Constructors
Link copied to clipboard
constructor(traveledToRemainingRatio: Float, legDistanceRemaining: String, legTimeRemaining: String, legArrivalTime: String, preferredRemainingArrivalMetricType: RemainingArrivalMetricType, isOffline: Boolean, legStateOfCharge: Int? = null, trafficGradientStops: List<Pair<Float, Color?>> = emptyList(), waypointsData: List<WaypointData> = emptyList())