Item constructor

Item(
  1. String id,
  2. String name,
  3. String description,
  4. Rarity rarityEnum,
  5. String virtualImagePath,
  6. String imagePath,
  7. String imageUrl,
  8. String path,
  9. int amount,
)

item object

Implementation

Item(
  this.id,
  this.name,
  this.description,
  this.rarityEnum,
  this.virtualImagePath,
  this.imagePath,
  this.imageUrl,
  this.path,
  this.amount,
);