NotifiableList<E>.of constructor
NotifiableList<E>.of (})
Create a NotifiableList 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
@override
NotifiableList.of(Iterable<E> elements,
{bool growable = true, propagateNotification = true})
: super() {
_values = List<E>.of(elements, growable: growable);
this.propagateNotification = propagateNotification;
if (_propagateNotification) _startPropagateNotification();
}