revertAll method

void revertAll()

Reverts all values back to defaultMap.

If any key/value pairs are changed then a MapUpdate is sent to attached streams.

Implementation

void revertAll() {
  addAll(map((k, v) => MapEntry(k, _defaultMap[k])));
  _map = {..._defaultMap};
}