size property
int
size
The size of the cache. If the cache holds unreferenced images, the total number of images will be held to this size.
Implementation
int get size => _size;
Implementation
set size(int val) {
if (val < 0) {
throw ArgumentError.value(val, 'cache size');
}
_size = size;
_trimLRU();
}