<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def construct(cls, name, range=None):
 """Create a requirement directly from an object name and VersionRange. Args: name: Object name string. range: VersionRange object. If None, an unversioned requirement is created. """

        other = Requirement(None)
        other.name_ = name
        other.range_ = VersionRange() if range is None else range
        return other