Action constructor

Action({
  1. required String name,
  2. required List<String> argument,
  3. required int index,
  4. String actionType = 'dart',
  5. String? commandName,
})

Implementation

Action({
  required this.name,
  required this.argument,
  required int index,
  this.actionType = 'dart',
  this.commandName,
}) : id = actionId(name, index, commandName);