getUniqueList static method

List<String> getUniqueList(
  1. List<String> members
)

Implementation

static List<String> getUniqueList(List<String> members) {
  Set<String> uniqueSet = {};
  uniqueSet.addAll(members);
  var uniqueList = uniqueSet.toList();
  uniqueList.sort();
  return uniqueList;
}