autoFlush property
bool
autoFlush
Implementation
static bool get autoFlush => _autoFlush;
Global configuration that specifies if the collections should flush
automatically. The default is true
.
Implementation
static set autoFlush(bool value) {
if (_autoFlush == value) return;
if (ImmutableCollection.isConfigLocked)
throw StateError("Can't change the configuration of immutable collections.");
_autoFlush = value;
}