stayOnSameTransit property

bool get stayOnSameTransit

Get if the route segment requires to stay on same transit

Returns

  • True if the route segment requires to stay on same transit, false otherwise.

Throws

  • An exception if it fails.

Implementation

bool get stayOnSameTransit {
  final OperationResult resultString = objectMethod(
    _pointerId,
    'PTRouteSegment',
    'getStayOnSameTransit',
  );

  return resultString['result'];
}