flushFactor property
int
flushFactor
Indicates the number of operations an IList may perform
before it is eligible for auto-flush. Must be larger than 0
.
Implementation
static int get flushFactor => _flushFactor;
See also: ImmutableCollection
Implementation
static set flushFactor(int value) {
if (_flushFactor == value) return;
if (ImmutableCollection.isConfigLocked)
throw StateError("Can't change the configuration of immutable collections.");
if (value > 0)
_flushFactor = value;
else
throw StateError("flushFactor can't be $value.");
}