operator & method

ListSignal<E> operator &(
  1. Iterable<E> other
)

Fork: create a new signal which value is the concatenation of source signal and iterable parameter

Implementation

ListSignal<E> operator &(Iterable<E> other) {
  final rs = List<E>.from(peek())..addAll(other);
  return ListSignal(rs);
}