handleWebUrl method

void handleWebUrl(
  1. BartMenuRoute route
)

Implementation

void handleWebUrl(BartMenuRoute route) {
  if (!kIsWeb) {
    return;
  }
  final uri = Uri(path: route.path);
  window.history.pushState(null, '', uri.toString());
}