# find method

T? find(

1. ConditionTester<T> test

)

Finds the first element that satisfies the given predicate.

Returns the first element in the iterable that matches the provided `test` function. Returns `null` if no such element is found.

## Implementation

    T? find(ConditionTester<T> test) {
      for (var element in this) {
        if (test(element)) {
          return element;
        }
      }
      return null;
    }