mostCommon property

T? get mostCommon

Implementation

T? get mostCommon =>
    occurrences().sortedKeysByValue((a, b) => b.compareTo(a)).firstOrNull;