maxCacheMemory property

int get maxCacheMemory

The maximum memory usage.

Implementation

int get maxCacheMemory => _maxCacheMemory;
set maxCacheMemory (int value)

Implementation

set maxCacheMemory(int value) {
  if (value <= 0) {
    _maxCacheMemory = 0;
  } else {
    if (value < 1024 * 4) value = 1024 * 4;
    _maxCacheMemory = value;
  }
}