dart_observable library

Typedefs

Emitter<T> = void Function(T value)
FactoryMap<K, V> = Map<K, V> Function(Map<K, V>? items)
FactorySet<T> = Set<T> Function(Iterable<T>? items)
FutureWorker = FutureOr<void> Function()
ListUpdater<E, T> = void Function(ObservableList<E> state, T value, Emitter<List<E>> updater)
MapUpdater<K, V, T> = void Function(ObservableMap<K, V> state, T value, Emitter<Map<K, V>> updater)
MergeConflictResolver<K, V> = V? Function(K key, V current, ObservableItemChange<V?> conflict)
RxBool = Rx<bool>
RxnBool = Rxn<bool>
RxnString = Rxn<String>
RxString = Rx<String>
SetUpdater<E, T> = void Function(ObservableSet<E> state, T value, Emitter<Set<E>> updater)
StatefulListAction<E, S> = Either<ObservableListUpdateAction<E>, S>
StatefulListChange<E, S> = Either<ObservableListChange<E>, S>
StatefulListUpdater<E, S, T> = void Function(ObservableStatefulList<E, S> state, T value, Emitter<Either<List<E>, S>> updater)
StatefulMapUpdater<K, V, S, T> = void Function(ObservableStatefulMap<K, V, S> state, T value, Emitter<Either<Map<K, V>, S>> updater)
StatefulSetUpdater<E, S, T> = void Function(ObservableStatefulSet<E, S> state, T value, Emitter<Either<Set<E>, S>> updater)

Exceptions / Errors

ObservableDisposedError