stats method
Performs N rolls and outputs stats (stddev, mean, min/max, and a histogram)
Implementation
Future<Map<String, dynamic>> stats({
int num = 500,
int precision = 3,
}) async {
final stats = StatsCollector();
await for (final r in rollN(num)) {
stats.update(r);
}
return stats.asMap();
}