createRoute function

SitumRoute createRoute(
  1. dynamic arguments
)

Implementation

SitumRoute createRoute(arguments) {
  Poi? poi;
  var poiTo = arguments["poiTo"];
  if (poiTo != null) {
    Map map = arguments["poiTo"];
    poi = createPoi(map);
  }
  return SitumRoute(rawContent: arguments, poiTo: poi);
}