findCached method
lookup path in cache
Implementation
Voyager? findCached(String routerPath) {
var voyager = _cache[routerPath];
if (voyager == null) {
voyager = find(routerPath);
if (voyager != null) {
_cache[routerPath] = voyager;
}
}
return voyager;
}