code: def flows(self):
      from lightning.app.core.flow import LightningFlow
      from lightning.app.structures import Dict as _Dict
      from lightning.app.structures import List as _List
  
      flows = {}
      for item in self.values():
          if isinstance(item, LightningFlow):
              flows[item.name] = item
              for child_flow in item.flows.values():
                  flows[child_flow.name] = child_flow
          if isinstance(item, (_Dict, _List)):
              for child_flow in item.flows.values():
                  flows[child_flow.name] = child_flow
      return flows
  
file_path: pytorch-lightning/src/lightning/app/structures/dict.py
imports: import typing
  from lightning.app.utilities.app_helpers import _LightningAppRef, _set_child_name
label_desc: Use image node_id 4 for calling the Dict obj's underlying member method code with example usage: obj.flows() and returns: flows