title: How to convert List<Asset> to List<File> in flutter
body: <p>I am using <a href="https://pub.dev/packages/multi_image_picker" rel="noreferrer">this package</a> to get mutliple images from gallery and it return a list of Asset, now I want to send it to server, I am use FormDate but there image path required.</p>
  
  <ol>
  <li><p>Is there any other way to send <strong>Asset</strong> image to server?</p></li>
  <li><p>how to convert <code>List&lt;Asset&gt;</code> to <code>List&lt;File&gt;</code>.</p></li>
  <li><p>how to get image path from <strong>Asset</strong></p></li>
  </ol>
  
  <p>Or any other method to done this task(Choose mutliple images from storage and send them to server).</p>
  
  <pre><code>List&lt;Asset&gt; images = List&lt;Asset&gt;();
  
  FormData imageFormData = FormData.fromMap({
    "files": images.map((image) async {
       return await MultipartFile.fromFile('assets/${image.name}', filename: image.name);
       }).toList(),
  });
  </code></pre>