filtre des doublons en fléchette

var nl = [1,5,6,4,7,8,2,1,5];
//duplicate numbers
  var n =nl.toSet().toList();
Excited Eland