Create a PTRouteInfo.
API users do not typically create instances of this class directly.
Route parameters
Optional ReadonlyheadingOptional heading or destination string.
Optional ReadonlyrouteOptional color associated with the route (hex string).
ReadonlyrouteInternal route identifier.
Optional ReadonlyrouteDescriptive route name (may be null).
Optional ReadonlyrouteShort route identifier (may be null).
Optional ReadonlyrouteOptional text color suitable for use on top of routeColor (hex string).
ReadonlyrouteRoute type.
Public-facing route information for a stop.
Contains rider-visible route metadata such as short/long names, route type and color hints. Use this when presenting routes associated with a stop in UI or lists.
Instances are provided as part of PTStop.routes or PTTrip.route.