Konwertuj listę w zestawie DART

var y = x.toSet();
Tough Tern