stayOnSameTransit property

bool get stayOnSameTransit

Whether passengers must remain on the same vehicle for this segment.

Returns

  • bool: true when staying on the same transit is required.

Implementation

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

  return resultString['result'];
}