diff static method
Creates a new list with the elements of this that are not in other.
Example:
diff(list1,list2) // return all element of this list which is not in other
Implementation
static List<dynamic> diff(List<dynamic> list1, List<dynamic> list2) {
list1.removeWhere(
(dynamic first) => list2.any((dynamic second) => second == first));
return list1;
}