mirror of
https://gitlab.com/comunic/comunicmobile
synced 2025-06-19 08:15:16 +00:00
Store locally the list of conversations
This commit is contained in:
14
lib/utils/list_utils.dart
Normal file
14
lib/utils/list_utils.dart
Normal file
@ -0,0 +1,14 @@
|
||||
/// List utilities
|
||||
///
|
||||
/// @author Pierre HUBERT
|
||||
|
||||
/// Transform a list of string into something else
|
||||
List<int> stringListToIntList(List<String> srcList){
|
||||
List<int> list = List();
|
||||
|
||||
srcList.forEach((e){
|
||||
list.add(int.parse(e));
|
||||
});
|
||||
|
||||
return list;
|
||||
}
|
Reference in New Issue
Block a user