NotifiableList<E> constructor Null safety

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

Create an empty NotifiableList.

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

Implementation

NotifiableList({propagateNotification = true}) : super() {
  _values = <E>[];
  this.propagateNotification = propagateNotification;
}