getVariables method

List<Map<String, dynamic>> getVariables()

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;
}