title: Length of List with conditionals in dart
body: <p>Is there a way to get 4 instead of 2 as a result?</p>
  
  <pre><code>List&lt;String&gt; test = [
        'first',
        'second',
        if (false) 'third',
        if (false) 'fourth',
      ];
  
      print('length: ' + test.length.toString());
  </code></pre>