fillDynamicCommand static method

void fillDynamicCommand(
  1. ActionRecipe recipe,
  2. String cmdText
)

Given a recipe and a command attempts to determine the final command modifying the ActionRecipe received

Implementation

static void fillDynamicCommand(ActionRecipe recipe, String cmdText) {
  // attempt regex processors
  for (var processor in regexProcessors) {
    if (processor.processActionRecipe(recipe, cmdText)) {
      return;
    }
  }
}