pathAlgorithmFlavor property

RoutePathAlgorithmFlavor get pathAlgorithmFlavor

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']);
}
set pathAlgorithmFlavor (RoutePathAlgorithmFlavor value)

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,
  );
}