@classmethod
def from_model(cls, model, name=None):
    """Create a :class:`TestSuite` object based on the given ``model``.

        The model can be created by using the
        :func:`~robot.parsing.parser.parser.get_model` function and possibly
        modified by other tooling in the :mod:`robot.parsing` module.

        New in Robot Framework 3.2.
        """
    from .builder import RobotParser
    return RobotParser().build_suite(model, name)
