def __dict__(self) -> dict:
return self.to_dict()<EOL>
Override Python method: dict()

        Alias of :method:`to_dict`.

        # Returns:
            dict: The `dict` representation of the current instance.