prefix method
Implementation
RouteMapping prefix(String prefix) {
final newPath = prefix == BASE_PATH
? _path
: _path == BASE_PATH
? prefix
: '$prefix$_path';
return RouteMapping(methods, newPath);
}
RouteMapping prefix(String prefix) {
final newPath = prefix == BASE_PATH
? _path
: _path == BASE_PATH
? prefix
: '$prefix$_path';
return RouteMapping(methods, newPath);
}