CachedFr<T, K, C, F extends Fr<T>> class

Mixed-in types
Available extensions

Constructors

CachedFr(Fr<C> fv$, F _item(K key))

Properties

fv$ Fr<C>
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

changes() Stream<C>
"changes" is not a great name since, by contract, the stream includes the initial, not yet changed value. maybe rename it to "distinctValues()" ?
inherited
item(K key) → F
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
read() → C
inherited
toString() String
A string representation of this object.
inherited
watch() → C
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

list<T, F extends Fr<T>>({required Fr<List<T>> fv, required F wrap(Fr<T> item), T? defaultValue, DspReg? disposers}) CachedFr<T, int, List<T>, F>
map<T, K, F extends Fr<T>>({required Fr<Map<K, T>> fv, required F wrap(Fr<T> item), T? defaultValue, DspReg? disposers}) CachedFr<T, K, Map<K, T>, F>