clear method

void clear()

Implementation

void clear() {
  if (readOnly) throw StateError('This set is readonly');
  configs.clear();
  cachedHashCode = -1;
  configLookup!.clear();
}