publicTransportRespectsAllConditions property

bool get publicTransportRespectsAllConditions

Whether the computed public-transit solution respects all provided preferences.

Returns true when the route satisfies constraints such as accessibility, maximum walking distance, and other routing preferences supplied to the routing engine.

Returns

  • bool: true when all preferences are met, otherwise false.

Implementation

bool get publicTransportRespectsAllConditions {
  final OperationResult resultString = objectMethod(
    pointerId,
    'PTRoute',
    'getPTRespectsAllConditions',
  );

  return resultString['result'];
}