title: Difference between converting a list to a new type using List.from vs List.map?
body: <p>Say I want to convert following collection to <code>List&lt;int&gt;</code>,</p>
  <pre class="lang-dart prettyprint-override"><code>final listDouble = &lt;double&gt;[1.0, 2.0];
  </code></pre>
  <p>I can either use</p>
  <pre class="lang-dart prettyprint-override"><code>final listInt = List&lt;int&gt;.from(listDouble);
  </code></pre>
  <p>or</p>
  <pre class="lang-dart prettyprint-override"><code>final listInt = listDouble.map&lt;int&gt;((e) =&gt; e.toInt()).toList();
  </code></pre>
  <p>Is there any difference between two approaches?</p>