merge<K, R> method
VN<K>
merge<K, R>(
- VN<
R> other, - K initialValue,
- void listener(
- T left,
- R right,
- void emitter(
- K value
Merges this VN with another VN into a derived VN.
other: The otherVNto merge with.initialValue: The initial value of the derivedVN.listener: A function that derives the value from the twoVNinstances.
Implementation
VN<K> merge<K, R>(
VN<R> other,
K initialValue,
void Function(T left, R right, void Function(K value) emitter) listener,
) =>
VN.merged(
initialValue,
left: this,
right: other,
listener: listener,
changeType: changeType,
);