isPTRoute property

bool get isPTRoute

Check if route is a Public Transport Route

Returns

  • True if the route is a PT route, false otherwise

Throws

  • An exception if it fails

Implementation

bool get isPTRoute {
  final OperationResult resultString = objectMethod(
    _pointerId,
    'Route',
    'isPTRoute',
  );

  return resultString['result'];
}