mode property

List<int> get mode

Finds the mode(s) of the integers in the iterable.

Returns a list of integers that appear most frequently.

Implementation

List<int> get mode => convertToList<int>(NumbersHelper.mode(toList()));