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