showRoutes method

void showRoutes(
  1. List<SMRouteName> routeNames
)

Implementation

void showRoutes(List<SMRouteName> routeNames) {
  assert(routeNames.isNotEmpty, "showRoutes: routeNames must not be empty");
  _stack.removeRange(0, _stack.length);
  return _pushRoutes(routeNames);
}