nestedKey method

FlowerDelegate? nestedKey(
  1. String? key
)

Implementation

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