CacheConfig<T> constructor

const CacheConfig<T>(
  1. {int? maxSize,
  2. bool shouldCache(
    1. T item
    )?}
)

Create a new CacheConfig with the provided properties.

Implementation

const CacheConfig({this.maxSize, this.shouldCache});