      <span class="returntype"><a href="dart-async/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="dart-io/File-class.html">File</a></span>&gt;</span></span>
            <span class="name ">writeAsString</span>
(<wbr><span class="parameter" id="writeAsString-param-contents"><span class="type-annotation"><a href="dart-core/String-class.html">String</a></span> <span class="parameter-name">contents</span>, {</span> <span class="parameter" id="writeAsString-pa