RestStop

@Serializable
data class RestStop(val type: String? = null)

An object containing information about passing rest stops along the route. Only available on the DirectionsCriteria.PROFILE_DRIVING profile.

Constructors

Link copied to clipboard
constructor(type: String? = null)

Properties

Link copied to clipboard
val type: String? = null

The type of rest stop, either rest_area (includes parking only) or service_area (includes amenities such as gas or restaurants). Note that adding new possible types is not considered a breaking change.