clear method

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

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

Implementation

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