code: def to_dict(self):
      return asdict(self)
  
imports: from dataclasses import asdict, dataclass, field
  from typing import Any
label_desc: Use image node_id 1 for calling the Message obj's underlying member method code with example usage: obj.to_dict() and returns: asdict