immutableRoadblockAvoidance property

bool get immutableRoadblockAvoidance

Get the immutable roadblock avoidance state If set, the algorithm rather fails than routing through roadblocks.

Default is false.

Implementation

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

Get the immutable roadblock avoidance state If set, the algorithm rather fails than routing through roadblocks.

Parameters

  • value: True to enable immutable roadblock avoidance, false otherwise.

Default is false.

Implementation

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