setPathUrlStrategy static method
Sets the URL strategy of your web app to using paths instead of a leading
hash (#).
Implementation
static void setPathUrlStrategy() {
if (urlStrategy is! PathUrlStrategy) {
setUrlStrategy(PathUrlStrategy());
}
}