text property

String? text
getter/setter pair

Human-readable representation of the distance or duration.

For distance: typically in format "X km" or "X m" For duration: typically in format "X mins" or "X hours"

Examples:

  • "2.5 km"
  • "150 m"
  • "5 mins"
  • "1 hour 30 mins"

Implementation

String? text;