Title constructor

Title(
  1. Entity entity, {
  2. required List<TextComponent> show,
})

To display our TextComponent, we need the /title command and the Title class wrapper.

Implementation

Title(
  this.entity, {
  required this.show,
})  : _type = _TitleType.title,
      times = null;