assign method
Replaces all current elements with elements in a single notification.
Implementation
void assign(Iterable<E> elements) {
value
..clear()
..addAll(elements);
refresh();
}
Replaces all current elements with elements in a single notification.
void assign(Iterable<E> elements) {
value
..clear()
..addAll(elements);
refresh();
}