@classmethod
def value_of(cls, string: str) ->'DataType':
    """
        Gets the enum constant with the given name.

        :param string:  The name of the enum member.
        :return:        The enum instance.
        """
    return cls[string]
