min method
Returns the lowest value of all elements
Example:
[17, 13, 92].min(); // 13
Implementation
int? min() => minimumBy((a, b) => a.compareTo(b));
Returns the lowest value of all elements
Example:
[17, 13, 92].min(); // 13
int? min() => minimumBy((a, b) => a.compareTo(b));