NotifiableSet<E>.of constructor
NotifiableSet<E>.of (
- Iterable<
E> elements, { - dynamic propagateNotification = true,
Create a NotifiableSet by adding all elements of elements
of type E
.
If propagateNotification
is true
(default value), this
NotifiableList will notify all its listeners when a child notify its
listeners as well.
Implementation
NotifiableSet.of(Iterable<E> elements, {propagateNotification = true})
: super() {
_values = Set<E>.of(elements);
this.propagateNotification = propagateNotification;
if (_propagateNotification) _startPropagateNotification();
}