how to remove same item in list in dart code example
Example: dart unique list
var ids = [1, 4, 4, 4, 5, 6, 6];
var distinctIds = ids.toSet().toList();
var ids = [1, 4, 4, 4, 5, 6, 6];
var distinctIds = ids.toSet().toList();