min method

double? min()

Returns the lowest value of all elements

Example:

[17.0, 13.0, 92.0].min(); // 13.0

Implementation

double? min() => minimumBy((a, b) => a.compareTo(b));