title: How to input a list of data from console in dart?
body: <p>In <strong>Dart</strong> I want to take input from user 100 data into a list from console. How can I do that?</p>
  <pre><code>void main() {
    int value;
    List&lt;int&gt; list = [0];
  
    var largest = list[0];
    for (var i = 0; i &lt; list.length; i++) {
      list.add(stdin.readByteSync());
      if (list[i] &gt; largest) {
        largest = list[i];
      }
    }
    print(largest);
  }
  </code></pre>