setValue method

  1. @override
void setValue(
  1. Iterable<T>? items, {
  2. bool notify = true,
  3. bool forceNotify = false,
})
override

Implementation

@override
void setValue(Iterable<T>? items,
    {bool notify = true, bool forceNotify = false}) {
  _list.clear();

  if (items != null) {
    _list.addAll(items);
  }

  if (notify || forceNotify) {
    this.notify();
  }
}