title: Creating function with variable number of arguments or parameters in Dart
body: <p>I am looking for a way to create a function with a variable number of arguments or parameters in Dart. I know I could create an array parameter instead, but I would prefer to not do that because I'm working on a library where syntactic brevity is important.</p>
  
  <p>For example, in plain JavaScript, we could do something like this (borrowed from <a href="http://terrainformatica.com/sciter/js-dart-tis.htm" rel="noreferrer">here</a>):</p>
  
  <pre class="lang-js prettyprint-override"><code>function superHeroes() {
    for (var i = 0; i &lt; arguments.length; i++) {
      console.log("There's no stopping " + arguments[i]);
    }
  }
  
  superHeroes('UberMan', 'Exceptional Woman', 'The Hunk');
  </code></pre>
  
  <p>However, in dart, that code will not run. Is there a way to do the same thing in dart? If not, is this something that is on the roadmap?</p>