<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def getData(self, type: str) -> str: """Get data of type format. If this DataTransfer object does not have `type` data, return empty string. :arg str type: Data format of the data, like 'text/plain'. """

        return self.__data.get(normalize_type(type), '')