activeSeoActionFlowStepIndexes function
Returns the authored step indices active for the supplied raw choice values.
Implementation
List<int> activeSeoActionFlowStepIndexes(
SeoActionFlowPlan plan,
Map<String, String> rawValues,
) =>
List.unmodifiable([
for (final (index, step) in plan.steps.indexed)
if (step.condition == null ||
rawValues[step.condition!.fieldName] == step.condition!.value)
index,
]);