title: Check if a list contains any element of another list in Dart
body: <p>I have an array:</p>
  <pre class="lang-dart prettyprint-override"><code>const list1 = [0, 1, 2];
  </code></pre>
  <p>How do I check if other arrays contain any of the target array elements?</p>
  <p>For example:</p>
  <pre class="lang-dart prettyprint-override"><code>[2, 3] //returns true;
  
  [2, 3, 4] //returns true;
  
  [3, 4] //returns false;
  </code></pre>