IntIterableExtensions extension
NOTE: Dart’s type system doesn’t consider int to be a subtype of Comparable<int>, even though int does implement Comparable<num>
Methods
-
leastOccurrences(
) → (int, int)? -
Available on Iterable<
find the most common value in the list.int> , provided by the IntIterableExtensions extension -
mostOccurrences(
) → (int, int)? -
Available on Iterable<
find the most common value in the list.int> , provided by the IntIterableExtensions extension