ItemDefinition constructor
const
ItemDefinition({
- required String id,
- int maxStack = 1,
- bool equippable = false,
- ItemRarity rarity = ItemRarity.common,
Implementation
const ItemDefinition({
required this.id,
this.maxStack = 1,
this.equippable = false,
this.rarity = ItemRarity.common,
});