-param-newPath"><span class="type-annotation"><a href="dart-core/String-class.html">String</a></span> <span class="parameter-name">newPath</span></span>)
            <span class="returntype parameter">&#8594; <a href="dart-io/Directory-class.html">Directory</a></span>
          </span>
                  </dt>
        <dd>
          Synchronously renames this directory. Returns a <a href="dart-io/Directory-class.html">Directory</a>
instance for the renamed directory. <a href="dart-io/Directory/renameSync.htm