avoidFerries property
Avoids ferry crossings when calculating routes.
When true, the routing engine avoids routes that include ferry segments.
Default is false.
Implementation
bool get avoidFerries {
final OperationResult resultString = objectMethod(
pointerId,
'RoutePrefWrapper',
'getAvoidFerries',
);
return resultString['result'];
}
Avoids ferry crossings when calculating routes.
When true, the routing engine avoids routes that include ferry segments.
Parameters
value: True to avoid ferries, false to allow them.
Default is false.
Implementation
set avoidFerries(final bool value) {
objectMethod(pointerId, 'RoutePrefWrapper', 'avoidferries', args: value);
}