firstWhere method

  1. @override
E firstWhere(
  1. bool test(
    1. E element
    ),
  2. {E orElse(
      )}
    )
    override

    Returns the first element that satisfies the given predicate test.

    Implementation

    @override
    E firstWhere(bool Function(E element) test, {E Function() orElse}) =>
        _wrappedList.firstWhere(test, orElse: orElse);