closeWhenIdle property
bool
closeWhenIdle
Whether the batcher will close once idle or not.
Implementation
bool get closeWhenIdle => _closeWhenIdle;
Implementation
set closeWhenIdle(bool value) {
if (value && _resultCount == _totalResultCount) close();
_closeWhenIdle = value;
}