minOrNullWhere method

T? minOrNullWhere(
  1. bool test(
    1. T element
    )
)

Returns the element with minimum value of filtered collection by test predicate.

If this is empty, the result of invoking is null.

For more info about filtering refer to Iterable.where.

Implementation

T? minOrNullWhere(bool test(T element)) => this.where(test).minOrNull;