RxListTransformations<T> extension

Collection transformation extensions

on

Properties

rxFirst RxComputed<T?>

Available on Rx<List<T>>, provided by the RxListTransformations extension

Get first element (or null)
no setter
rxIsEmpty RxComputed<bool>

Available on Rx<List<T>>, provided by the RxListTransformations extension

Check if list is empty
no setter
rxLast RxComputed<T?>

Available on Rx<List<T>>, provided by the RxListTransformations extension

Get last element (or null)
no setter
rxLength RxComputed<int>

Available on Rx<List<T>>, provided by the RxListTransformations extension

Get list length as reactive value
no setter

Methods

mapList<R>(R mapper(T)) RxComputed<List<R>>

Available on Rx<List<T>>, provided by the RxListTransformations extension

Map list reactively
sortedBy<R extends Comparable>(R keySelector(T)) RxComputed<List<T>>

Available on Rx<List<T>>, provided by the RxListTransformations extension

Sort list reactively
whereList(bool predicate(T)) RxComputed<List<T>>

Available on Rx<List<T>>, provided by the RxListTransformations extension

Filter list reactively