CountedItem constructor

const CountedItem({
  1. required int count,
  2. required String type,
  3. required String key,
})

Represents a reward item with its quantity. Used to track multiple instances of the same item type in a reward.

Implementation

const CountedItem({required this.count, required this.type, required this.key});