routeResultType property

RouteResultType get routeResultType

Route result type indicating the format of the returned route.

This value is not used during route calculation but is included in the result via RouteBase.preferences to indicate how the route was computed.

Default is RouteResultType.path.

Implementation

RouteResultType get routeResultType {
  final OperationResult resultString = objectMethod(
    pointerId,
    'RoutePrefWrapper',
    'getRouteResultType',
  );
  return RouteResultTypeExtension.fromId(resultString['result']);
}