      <div><h1><span class="kind-method">replace</span> method</h1></div>

    <section class="multi-line-signature">
      <span class="returntype">void</span>
            <span class="name ">replace</span>
(<wbr><span class="parameter" id="replace-param-token"><span class="type-annotation"><a href="dart-core/String-class.html">String</a></span> <span class="parameter-name">token</span></span> <span class="parameter" id="replace-param-newToken"><span class="type-annotation"><a href="dart-core/String-class.