clear method

  1. @override
void clear({
  1. bool notify = true,
})
override

Removes all objects from this list; the length of the list becomes zero.

Implementation

@override
void clear({bool notify = true}) {
  super.clear();
  if (notify) notifyListeners();
}