📅  最后修改于: 2022-03-11 14:48:07.349000             🧑  作者: Mango
main() {
List list = new List();
list.add('one');
list.add('two');
list.add('twelve');
list.forEach((element) => print(element));
Set set = Set.from(list);
set.forEach((element) => print(element));
}