find method
Returns the first element matching the given predicate, or null if no such element was found.
Implementation
T? find(bool Function(T) predicate) {
  return firstOrNull(predicate);
}
Returns the first element matching the given predicate, or null if no such element was found.
T? find(bool Function(T) predicate) {
  return firstOrNull(predicate);
}