   
    
    </ol>
  </div><!--/.sidebar-offcanvas-->

  <div id="dartdoc-main-content" class="col-xs-12 col-sm-9 col-md-8 main-content">
      <div><h1><span class="kind-method">encode</span> method</h1></div>

    <section class="multi-line-signature">
      <span class="returntype">T</span>
            <span class="name ">encode</span>
(<wbr><span class="parameter" id="encode-param-input"><span class="type-annotation">S</span> <span class="parameter-name">input</span></span>)
      
    </section>
    <s