TripState
data class TripState(val waypoints: List<DestinationSearchResult> = emptyList(), val markers: List<Marker> = emptyList(), val routes: List<NavigationRoute> = emptyList(), val fasterRoutes: List<FasterRouteMetadata> = emptyList(), val routeWithChargers: NavigationRoute? = null, val currentLegIndex: Int = 0, savedState: TripState? = null)
Constructors
Link copied to clipboard
constructor(waypoints: List<DestinationSearchResult> = emptyList(), markers: List<Marker> = emptyList(), routes: List<NavigationRoute> = emptyList(), fasterRoutes: List<FasterRouteMetadata> = emptyList(), routeWithChargers: NavigationRoute? = null, currentLegIndex: Int = 0, savedState: TripState? = null)