getVariables method
Get a list of variables as a list of maps, excluding RECOMMENDATION type variables
Implementation
List<Map<String, dynamic>> getVariables() {
List<Map<String, dynamic>> result = [];
for (var variable in variables) {
result.add(variable.toMap());
}
return result;
}