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