clear method Null safety

  1. @override
void clear()
override

Removes all entries from the map.

After this, the map is empty.

Implementation

@override
void clear() => _map.clear();