useWheelchair property

bool get useWheelchair

Ensures wheelchair accessibility for public transport routes.

When true, routes are computed to be wheelchair-accessible. Only applies to RouteTransportMode.public.

Default is false.

Implementation

bool get useWheelchair {
  final OperationResult resultString = objectMethod(
    pointerId,
    'RoutePrefWrapper',
    'getUseWheelchair',
  );
  return resultString['result'];
}
set useWheelchair (bool value)

Ensures wheelchair accessibility for public transport routes.

When true, routes are computed to be wheelchair-accessible. Only applies to RouteTransportMode.public.

Parameters

  • value: True to ensure wheelchair accessibility, false otherwise.

Default is false.

Implementation

set useWheelchair(final bool value) {
  objectMethod(pointerId, 'RoutePrefWrapper', 'usewheelchair', args: value);
}