Router constructor
Creates a new Router.
Implementation
Router({String? basePath, Future notFoundHandler(Request request)?})
: _unmatchedController = notFoundHandler,
_basePathSegments =
basePath?.split("/").where((str) => str.isNotEmpty).toList() ?? [] {
policy!.allowCredentials = false;
}