1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2025-06-19 08:15:16 +00:00

Get conversation message

This commit is contained in:
2019-04-25 08:56:16 +02:00
parent 1ec197202c
commit e2202a4794
8 changed files with 245 additions and 14 deletions

View File

@ -11,4 +11,17 @@ List<int> listToIntList(List<dynamic> srcList){
});
return list;
}
/// Find the list of missing elements of a [testList] from a [srcList]
List<T> findMissingFromList<T>(List<T> srcList, List<T>testList) {
List<T> dest = List();
testList.forEach((f){
if(!srcList.contains(f) && !dest.contains(f))
dest.add(f);
});
return dest;
}