SetGamemode constructor

SetGamemode(
  1. Gamemode mode, {
  2. Entity? target,
})

Implementation

SetGamemode(this.mode, {this.target});