singleWhere method

T singleWhere(
  1. Predicate<T> test, {
  2. T orElse()?,
})

Implementation

T singleWhere(Predicate<T> test, {T Function()? orElse}) =>
    iter.singleWhere(test, orElse: orElse);