values property

List<T> values

The current values stored in this notifier.

When the values is replaced with something that is not equal to the old values as evaluated by the equality operator ==, this class notifies its listeners.

Call the public methods of values directly, such as List.add, List.remove, etc., then this class will not notify its listeners.

Implementation

final List<T> values;
void values=(List<T> newValues)

Implementation

set values(List<T> newValues) {
  if (values == newValues) return;
  values = newValues;
  notifyListeners();
}