="type-annotation"><a href="dart-convert/Encoding-class.html">Encoding</a></span> <span class="parameter-name">encoding</span>: <span class="default-value">utf8</span></span> })
            <span class="returntype parameter">&#8594; <a href="dart-core/String-class.html">String</a></span>
          </span>
                  </dt>
        <dd>
          Synchronously read the entire file contents as a string using the
given <a href="dart-convert/Encoding-class.html">Encoding</a>. <a href="dart-io/File/readAsS