createRouteResult static method

Future<RouteResult> createRouteResult(
  1. PortalItem portalItem
)

Imports route result from portal item.

Parameters:

  • portalItem — The portal item with feature collection that contains directions, stops, route info, and barriers tables.

Return Value: The RouteResult for the route task.