getFlushed method

ListSet<T> getFlushed(
  1. ConfigSet? config
)

Returns the flushed set (flushes it only once). It is an error to use the flushed set outside of the S class.

Implementation

ListSet<T> getFlushed(ConfigSet? config) {
  _flushed ??= ListSet.of(this, sort: (config ?? ISet.defaultConfig).sort);
  return _flushed!;
}