Advancement.revoke constructor

Advancement.revoke(
  1. Entity entity,
  2. String advancement, {
  3. String mode = 'only',
  4. String? criteria,
})

You can also revoke an Advancement

Implementation

Advancement.revoke(
  this.entity,
  this.advancement, {
  this.mode = 'only',
  this.criteria,
}) : revoke = true;