getDiffsFromTwoArr static method
Implementation
static getDiffsFromTwoArr(List<dynamic> listA, List<dynamic> listB) {
var tempArr = [];
tempArr.addAll(listA);
tempArr.addAll(listB);
List<dynamic> difference = tempArr
.where(
(element) => !listA.contains(element) || !listB.contains(element))
.toList();
return difference;
}