Item.type constructor

const Item.type(
  1. String type, {
  2. int? count,
  3. Slot? slot,
  4. int? damage,
  5. Map<String, dynamic>? tag,
})

Implementation

const Item.type(
  this.type, {
  this.count,
  this.slot,
  this.damage,
  this.tag,
});