pedestrianProfile property

PedestrianProfile get pedestrianProfile

Pedestrian routing profile for walking and wheelchair accessibility.

Selects pedestrian-specific routing behavior. Options include standard walking or hiking. Only used when transportMode is RouteTransportMode.pedestrian.

Default is PedestrianProfile.walk.

Implementation

PedestrianProfile get pedestrianProfile {
  final OperationResult resultString = objectMethod(
    pointerId,
    'RoutePrefWrapper',
    'getPedestrianProfile',
  );
  return PedestrianProfileExtension.fromId(resultString['result']);
}
set pedestrianProfile (PedestrianProfile value)

Pedestrian routing profile for walking and wheelchair accessibility.

Selects pedestrian-specific routing behavior. Options include standard walking or hiking. Only used when transportMode is RouteTransportMode.pedestrian.

Parameters

  • value: The pedestrian profile to use.

Default is PedestrianProfile.walk.

Implementation

set pedestrianProfile(final PedestrianProfile value) {
  objectMethod(
    pointerId,
    'RoutePrefWrapper',
    'pedestrianprofile',
    args: value.id,
  );
}