clear method Null safety

  1. @override
void clear()
override

Throws an UnsupportedError; operations that change the map are disallowed.

Implementation

@override
void clear() => _throw();