min abstract method
Returns the minimum element of this stream according to the provided Comparator.
Example
final min = GenericStream.of([3, 1, 4, 1, 5])
.min((a, b) => a.compareTo(b));
Implementation
Optional<T> min([int Function(T, T)? comparator]);