findByUri method
Implementation
UrlComponent findByUri(Uri uri) {
var component = UrlComponent(uri, null);
var result = findByPath(component.pathSegments);
if (result != null) {
component.value = result.node.value;
component.addExtra(result.params);
}
return component;
}