getProposalsQueryParameters static method

String getProposalsQueryParameters(
  1. List<String> events
)

Implementation

static String getProposalsQueryParameters(List<String> events) {
  String rules = "";
  for (var evc in events) {
    if (rules.isNotEmpty) {
      rules += "&";
    }
    rules += "events=$evc";
  }

  return rules;
}