ture.value.html">new Future.value</a>),
then it also accepts another future and does this work for the developer.</p>
<p>The result of registering a pair of callbacks is a new Future (the
"successor") which in turn is completed with the result of invoking the
corresponding callback.
The successor is completed with an error if the invoked callback throws.
For example:</p>
<pre class="language-dart"><code>Future&lt;int&gt; successor = future.then((int value) {
    // Invoked when the future is completed with 