(cls, path)
return dart_view
@path
          A path to a file.
def from_path(cls, path):
        '''
        @path
          A path to a file.
        '''
        assert isinstance(path, str), 'wrong call'
        dart_view = cls(None)
        dart_view.path = path
        return dart_view
def from_path ( cls , path ) : assert isinstance ( path , str ) , 'wrong call' dart_view = cls ( None ) dart_view . path = path return dart_view