PTRouteInfo constructor
Create a PTRouteInfo.
API users do not typically create instances of this class directly.
Parameters
routeId: (int) Internal route identifier.routeShortName: (String?) Short route identifier (e.g., "32").routeLongName: (String?) More descriptive route name.routeType: (PTRouteType) The route type.routeColor: (Color?) Optional color associated with the route.routeTextColor: (Color?) Optional text color to display on route background.heading: (String?) Optional heading/destination for the route.
Implementation
PTRouteInfo({
required this.routeId,
this.routeShortName,
this.routeLongName,
required this.routeType,
this.routeColor,
this.routeTextColor,
this.heading,
});