clear method

  1. @override
void clear()
override

This operation is not supported by an unmodifiable map.

Implementation

@override
void clear() {
  throw UnsupportedError('Cannot modify unmodifiable map');
}