nestedKey method
Implementation
GetDelegate? nestedKey(String? key) {
if (key == null) {
if (config.routerConfig != null) return null;
if (config.routerDelegate == null) return null;
return rootDelegate;
}
_keys.putIfAbsent(
key,
() => GetDelegate(
showHashOnUrl: true,
pages: RouteDecoder.fromRoute(key).currentChildren ?? [],
),
);
return _keys[key];
}