InventorySlot constructor

InventorySlot({
  1. required int slot,
  2. required String code,
  3. required int quantity,
})

Returns a new InventorySlot instance.

Implementation

InventorySlot({
  required this.slot,
  required this.code,
  required this.quantity,
});