routeResultType property
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 routeResultType;