Answers for "remove duplicates from array dart"

0

remove duplicates from array dart

List<int> duplicates = [1, 1, 2, 4, 2, 6, 8, 4, 5];
List<int> withoutDuplicates = duplicates.toSet().toList();
Posted by: Guest on May-08-2022
0

filter duplicates in dart

var nl = [1,5,6,4,7,8,2,1,5];
//duplicate numbers
  var n =nl.toSet().toList();
Posted by: Guest on June-02-2021

Code answers related to "remove duplicates from array dart"

Code answers related to "Dart"

Browse Popular Code Answers by Language