firstWhereIndexedOrNull method

Coral<E?> firstWhereIndexedOrNull(
  1. bool test(
    1. int index,
    2. E element
    )
)

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

Implementation

Coral<E?> firstWhereIndexedOrNull(bool Function(int index, E element) test) =>
    coral.map((source) => source.firstWhereIndexedOrNull(test));