@classmethod
def from_dict(cls, data, allow_empty=False, **kwargs):
    """
        to construct a instance of this ``class`` from ``dict``

        Args:
            data: dict of data
            allow_empty: boolean
            **kwargs: kwargs
            data: dict of data may be None
            allow_empty: boolean
            **kwargs: kwargs

        Returns:
            instance initialized of cls
        """
    _data = cls.make_data_copy_with_kwargs(data, allow_empty=allow_empty,
        **kwargs)
    return cls(**_data)
