pathAlgorithmFlavor property
Flavor variant of the selected path algorithm.
Specifies the algorithmic flavor or variant to use with the selected pathAlgorithm. Different flavors may optimize differently.
Default is RoutePathAlgorithmFlavor.magicLane.
Implementation
RoutePathAlgorithmFlavor get pathAlgorithmFlavor {
final OperationResult resultString = objectMethod(
pointerId,
'RoutePrefWrapper',
'getPathAlgorithmFlavor',
);
return RoutePathAlgorithmFlavorExtension.fromId(resultString['result']);
}
Flavor variant of the selected path algorithm.
Specifies the algorithmic flavor or variant to use with the selected pathAlgorithm. Different flavors may optimize differently.
Parameters
value: The algorithm flavor to use.
Default is RoutePathAlgorithmFlavor.magicLane.
Implementation
set pathAlgorithmFlavor(final RoutePathAlgorithmFlavor value) {
objectMethod(
pointerId,
'RoutePrefWrapper',
'pathalgorithmflavor',
args: value.id,
);
}