firstWhereOrNull method

Bloom<E?> firstWhereOrNull(
  1. bool test(
    1. E element
    )
)

Returns the first element that satisfies test reactively, or null if none.

  • test: Predicate evaluated against elements in order.

Implementation

Bloom<E?> firstWhereOrNull(bool Function(E element) test) =>
    computed((via) => via(bloom).firstWhereOrNull(test));