Team.add constructor

Team.add(
  1. String name, {
  2. TextComponent? display,
  3. Color? color,
  4. ModifyTeam? nametag,
  5. ModifyTeam? collision,
  6. ModifyTeam? deathMessage,
  7. bool? friendlyFire,
  8. String? prefix,
  9. String? suffix,
  10. bool? seeInvisible,
})

Implementation

Team.add(
  this.name, {
  TextComponent? display,
  Color? color,
  ModifyTeam? nametag,
  ModifyTeam? collision,
  ModifyTeam? deathMessage,
  bool? friendlyFire,
  String? prefix,
  String? suffix,
  bool? seeInvisible,
}) : _action = _TeamAction.add {
  _setModifiers(display, color, nametag, collision, deathMessage,
      friendlyFire, prefix, suffix, seeInvisible);
}