filter duplicates in dart code example
Example: filter duplicates in dart
var nl = [1,5,6,4,7,8,2,1,5];
//duplicate numbers
var n =nl.toSet().toList();
var nl = [1,5,6,4,7,8,2,1,5];
//duplicate numbers
var n =nl.toSet().toList();