isPTRoute property
bool
get
isPTRoute
Whether this route is a Public Transport (PT) route.
PT routes contain segments and instructions specific to public transport (pedestrian legs, transit legs, tickets, frequency information, etc.).
Returns
trueif the route is a PT route, otherwisefalse.
Also see:
Implementation
bool get isPTRoute {
final OperationResult resultString = objectMethod(
super.pointerId,
'Route',
'isPTRoute',
);
return resultString['result'];
}