nestedKey method

GetDelegate? nestedKey(
  1. String? key
)

Implementation

GetDelegate? nestedKey(String? key) {
  if (key == null) {
    return rootDelegate;
  }
  keys.putIfAbsent(
    key,
    () => GetDelegate(
      showHashOnUrl: true,
      //debugLabel: 'Getx nested key: ${key.toString()}',
      pages: RouteDecoder.fromRoute(key).currentChildrens ?? [],
    ),
  );
  return keys[key];
}