Bossbar constructor

Bossbar(
  1. String id, {
  2. String? name,
  3. BossbarType type = BossbarType.add,
})

Implementation

Bossbar(this.id, {this.name, this.type = BossbarType.add}) {
  name ??= id;
}