How to get response body with request.send() in dart : <p>I'm doing an api request uploading an image with</p>

<pre><code>var request = new http.MultipartRequest("POST", uri);
var response = await request.send()
</code></pre>

<p>in dart using flutter. I can then check the response code with for instance </p>

<pre><code>if (response.statusCode == 200) {
   print('ok');
}
</code></pre>

<p>with other calls I can also get the response body with</p>

<pre><code>var result = response.body;
</code></pre>

<p>however when using request.send() I can't seem to find out how to get the response body result.</p>

<p>Any help or input is very much appreciated, thanks!</p>
