putMany method

void putMany(
  1. List<T> items,
  2. String getKey(
    1. T item
    )
)

Inserts many items into the cache

Implementation

void putMany(List<T> items, String Function(T item) getKey) {
  putManyWithDuration(items, getKey, _duration);
}