Enchant constructor

Enchant(
  1. Entity target,
  2. String enchantment, {
  3. int? level,
})

The Enchant Widget gives the currently holding item of a target an enchantment

Implementation

Enchant(this.target, this.enchantment, {this.level});