toString
Returns the leg's endpoints and totals, with coordinates and steps reduced to their sizes.
Both hold the leg's full geometry, so the data class representation the compiler would generate runs to megabytes on a real route. Print either property explicitly when you need its contents.