RxSetExtensions<T> extension

Enhanced reactive set operations with comprehensive error handling

on

Properties

firstOrNull → T?

Available on Rx<Set<T>>, provided by the RxSetExtensions extension

no setter
isEmpty bool

Available on Rx<Set<T>>, provided by the RxSetExtensions extension

no setter
isNotEmpty bool

Available on Rx<Set<T>>, provided by the RxSetExtensions extension

no setter
lastOrNull → T?

Available on Rx<Set<T>>, provided by the RxSetExtensions extension

no setter
length int

Available on Rx<Set<T>>, provided by the RxSetExtensions extension

no setter
singleOrNull → T?

Available on Rx<Set<T>>, provided by the RxSetExtensions extension

no setter
tryFirst RxResult<T>

Available on Rx<Set<T>>, provided by the RxSetExtensions extension

no setter
tryLast RxResult<T>

Available on Rx<Set<T>>, provided by the RxSetExtensions extension

no setter
trySingle RxResult<T>

Available on Rx<Set<T>>, provided by the RxSetExtensions extension

no setter

Methods

add(T item) bool

Available on Rx<Set<T>>, provided by the RxSetExtensions extension

Add item (convenience method)
addAll(Iterable<T> elements) → void

Available on Rx<Set<T>>, provided by the RxSetExtensions extension

Add all items (convenience method)
any(bool test(T)) bool

Available on Rx<Set<T>>, provided by the RxSetExtensions extension

clear() → void

Available on Rx<Set<T>>, provided by the RxSetExtensions extension

Clear set (convenience method)
contains(Object? element) bool

Available on Rx<Set<T>>, provided by the RxSetExtensions extension

difference(Set<Object?> other) Set<T>

Available on Rx<Set<T>>, provided by the RxSetExtensions extension

every(bool test(T)) bool

Available on Rx<Set<T>>, provided by the RxSetExtensions extension

forEach(void action(T)) → void

Available on Rx<Set<T>>, provided by the RxSetExtensions extension

intersection(Set<Object?> other) Set<T>

Available on Rx<Set<T>>, provided by the RxSetExtensions extension

join([String separator = ""]) String

Available on Rx<Set<T>>, provided by the RxSetExtensions extension

map<R>(R f(T)) Iterable<R>

Available on Rx<Set<T>>, provided by the RxSetExtensions extension

refresh() → void

Available on Rx<Set<T>>, provided by the RxSetExtensions extension

Convenience method to refresh listeners
remove(Object? item) bool

Available on Rx<Set<T>>, provided by the RxSetExtensions extension

Remove item (convenience method)
removeAll(Iterable<Object?> elements) → void

Available on Rx<Set<T>>, provided by the RxSetExtensions extension

Remove all items (convenience method)
removeWhere(bool test(T)) → void

Available on Rx<Set<T>>, provided by the RxSetExtensions extension

Remove where (convenience method)
retainWhere(bool test(T)) → void

Available on Rx<Set<T>>, provided by the RxSetExtensions extension

Retain where (convenience method)
toList({bool growable = true}) List<T>

Available on Rx<Set<T>>, provided by the RxSetExtensions extension

toSet() Set<T>

Available on Rx<Set<T>>, provided by the RxSetExtensions extension

tryAdd(T item) RxResult<bool>

Available on Rx<Set<T>>, provided by the RxSetExtensions extension

Add item with error handling
tryAddAll(Iterable<T> elements) RxResult<void>

Available on Rx<Set<T>>, provided by the RxSetExtensions extension

Add all items with error handling
tryClear() RxResult<void>

Available on Rx<Set<T>>, provided by the RxSetExtensions extension

Clear set with error handling
tryRemove(Object? item) RxResult<bool>

Available on Rx<Set<T>>, provided by the RxSetExtensions extension

Remove item with error handling
tryRemoveAll(Iterable<Object?> elements) RxResult<void>

Available on Rx<Set<T>>, provided by the RxSetExtensions extension

Remove all items with error handling
tryRemoveWhere(bool test(T)) RxResult<void>

Available on Rx<Set<T>>, provided by the RxSetExtensions extension

Remove where with error handling
tryRetainWhere(bool test(T)) RxResult<void>

Available on Rx<Set<T>>, provided by the RxSetExtensions extension

Retain where with error handling
union(Set<T> other) Set<T>

Available on Rx<Set<T>>, provided by the RxSetExtensions extension

where(bool test(T)) Iterable<T>

Available on Rx<Set<T>>, provided by the RxSetExtensions extension