NotifiableSet<E> constructor Null safety

NotifiableSet<E>(
  1. {dynamic propagateNotification = true}
)

Create an empty NotifiableSet.

If propagateNotification is true (default value), this NotifiableList will notify all its listeners when a child notify its listeners as well.

Implementation

NotifiableSet({propagateNotification = true}) : super() {
  _values = Set<E>();
  this.propagateNotification = propagateNotification;
}