IdenticalItemsList<E> constructor

const IdenticalItemsList<E>({
  1. required E value,
  2. int length = 1,
})

Implementation

const IdenticalItemsList({required this.value, int length = 1})
  : length = (length > 0) ? length : 1;