code: def to_dict(self) -> t.Dict[str, t.Any]:
      ...
  
imports: import typing
  from typing import Protocol, runtime_checkable
  from lightning.app.core import LightningFlow, LightningWork
  from lightning.app.structures import Dict, List
label_desc: Use image node_id 1 for calling the Hashable obj's underlying member method code with example usage: obj.to_dict() without return types