minBy method
Returns the first element yielding the smallest value of the given
selector
or null
if there are no elements.
Implementation
E minBy(Comparable Function(E element) selector) => _minMaxBy(-1, selector);
Returns the first element yielding the smallest value of the given
selector
or null
if there are no elements.
E minBy(Comparable Function(E element) selector) => _minMaxBy(-1, selector);