-class.html">Object</a></span> <span class="parameter-name">error</span>, [</span> <span class="parameter" id="error-param-stackTrace"><span class="type-annotation"><a href="dart-core/StackTrace-class.html">StackTrace</a></span> <span class="parameter-name">stackTrace</span></span> ])</span>
        </dt>
        <dd>
          Creates a future that completes with an error. <a href="dart-async/Future/Future.error.html">[...]</a>
          <div class="constructor-modifier features">factory</div>
        </dd