singleWhereIndexedOrNull method

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

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

Implementation

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