shape property
Drawable geometry of the route (may be null).
Shares PTShape instances with PTStopInfo.shapes. Null when shapes
were not requested (see PTStopScheduleFilter.shapes) or the route has
no drawable shape — the static has_shape schedule flag can be true
while no geometry is available, so null here is the authoritative "not
drawable" signal. Always null on PTTrip.route instances — the shape
lives on the stop catalogue's routes (PTStop.routes).
Implementation
final PTShape? shape;