@classmethod
def fromdict(cls, mapping, with_dto=False):
    """Create a new Data Transfer Object (DTO) from a regular
        Python dictionary.
        """
    return cls(mapping).as_dto(with_dto=with_dto)
