findEntryWithKey method
Finds NavigationEntry with Key
Implementation
NavigationEntry? findEntryWithKey(final Key key) {
if (route.key == key) {
return this;
}
for (final tab in tabs) {
final tabEntry = tab.findEntryWithKey(key);
if (tabEntry != null) {
return tabEntry;
}
}
return null;
}