CombinationCache<T, E> constructor

CombinationCache<T, E>({
  1. required bool allowRepetition,
  2. Iterable<E> mapper(
    1. T e
    )?,
  3. bool validator(
    1. List<E> combination
    )?,
  4. bool allowSharedCombinations = false,
})

Implementation

CombinationCache(
    {required this.allowRepetition,
    this.mapper,
    this.validator,
    this.allowSharedCombinations = false});