clear method

  1. @override
void clear()
override

Removes all entries from the map.

After this, the map is empty.

Implementation

@override
void clear() {
  super.value.clear();
  if (notifyOnChangeMap) {
    notifyListeners();
  }
}