How do I generate random numbers using Dart?
Here's a snippet for generating a list of random numbers
import 'dart:math'; main() { var rng = new Random(); var l = new List.generate(12, (_) => rng.nextInt(100)); }
This will generate a list of 12 integers from 0 to 99 (inclusive).