; new SomeOtherSet.from(list))</code>
to create the set.</p>
<p>If this stream emits an error,
the returned future is completed with that error,
and processing stops.</p>
    </section>
    
    <section class="summary source-code" id="source">
      <h2><span>Implementation</span></h2>
      <pre class="language-dart"><code class="language-dart">Future&lt;Set&lt;T&gt;&gt; toSet() {
  Set&lt;T&gt; result = new Set&lt;T&gt;();
  _Future&lt;Set&lt;T&gt;&gt; future = new _Future&lt;Set&lt;T&gt;&gt;();
  this.l