namedLocation method
Get a location from route name and parameters. This is useful for redirecting to a named location.
Implementation
String namedLocation(
String name, {
Map<String, String> pathParameters = const <String, String>{},
Map<String, String> queryParameters = const <String, String>{},
}) {
return _configuration.namedLocation(name,
pathParameters: pathParameters, queryParameters: queryParameters);
}