Agent constructor

const Agent({
  1. String? name = "Minecraft",
  2. int version = 1,
})

Implementation

const Agent({
  this.name = "Minecraft",
  this.version = 1,
});