Skip to main content
RadarRouteDuration represents the duration of a route, including both the numeric value and a formatted display string.

Properties

number
required
The duration in minutes.
string
required
A display string for the duration. This is a human-readable formatted string (e.g., “15 min” or “1 hour 30 min”).

Instance Methods

dictionaryValue

Converts the route duration to a dictionary representation.

Returns

A dictionary representation of the route duration.

Example

See Also