Command constructor

Command({
  1. required String text,
  2. required String name,
  3. required CommandTemplate template,
  4. required String category,
  5. String? icon,
})

Implementation

Command(
    {required this.text,
    required this.name,
    required this.template,
    required this.category,
    this.icon});