title: How to get redirect URL in dart/flutter?
body: <p>I'm building an app that shows an image taken from source.unsplash. My request url is:</p>
  
  <pre><code>https://source.unsplash.com/random/`$widthx$height`
  </code></pre>
  
  <p>Then the service redirects to some specific image url picked fitting my width and height.</p>
  
  <p>I can show the image with:<br>
  <code>Image.network(url above)</code>,<br>
  but I cannot access the new redirected url for some other parts of my code which is really necessary. Is there a way to get it?</p>
  
  <p>Thanks in advance</p>
  
  <p>Something I'm searching for is like</p>
  
  <pre><code>Http.Response response = await Http.get(url);
  print(response.finalRedirectURL);
  </code></pre>