diff method

List diff(
  1. List list
)

Creates a new list with the elements of this that are not in other.

Example:

list.diff(list2) // return all element of this list which is not in other

Implementation

List<dynamic> diff(List<dynamic> list) => FxList.diff(this, list);