LruCache<K, V> constructor

LruCache<K, V>(
  1. int maxSize
)

Implementation

LruCache(this.maxSize) {
  if (maxSize <= 0) {
    throw ArgumentError('maxSize must be > 0');
  }
}