add method

  1. @override
void add(
  1. T item, {
  2. bool notify = true,
})
override

Adds item to the end of this list, extending the length by one.

Implementation

@override
void add(T item, {bool notify = true}) {
  super.add(item);
  if (notify) notifyListeners();
}