How to remove duplicates from a list with lists in Dart / Flutter?
.toSet().toList()
doesn't work.
For Example:
List one = [
[
[6, 51],
[2, 76]
],
[
[6, 51],
[2, 76]
],
[
[5, 66],
[4, 96]
]
]
Would be:
List two = [
[
[6, 51],
[2, 76]
],
[
[5, 66],
[4, 96]
]
]