valueCounts property

Map<T, int> get valueCounts

A map of the counts of each unique roll value.

Returns a sparse map where the keys are the unique dice roll faces and the values are the number of times that face was rolled.

Implementation

Map<T, int> get valueCounts => _valueCounts;