getFlushed method

Map<K, V> getFlushed(
  1. ConfigMap? config
)

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

Implementation

Map<K, V> getFlushed(ConfigMap? config) {
  _flushed ??= ListMap.fromEntries(entries, sort: (config ?? IMap.defaultConfig).sort);
  return _flushed!;
}