title: Dart: how to safely get an element from a nullable list?
body: <p>I have a list that can possibly be null. How do I get an element from it using dart's null safety operators?</p>
  
  <ul>
  <li><code>aNullList[0]</code>   (Will throw a null pointer)</li>
  </ul>
  
  <p>Those don't compile:</p>
  
  <ul>
  <li><p><code>aNullList?[0]</code>  (Don't compile)</p></li>
  <li><p><code>aNullList?[0] ?? "None"</code>  (Also don't compile)</p></li>
  </ul>