clear method

void clear()

Calls Map.clear on the underlying map.

If includePlatformEnvironment is true, the entries of Platform.environment will be reinserted.

Implementation

void clear() {
  _map.clear();
  if (includePlatformEnvironment) _addPlatformEnvironment();
}