1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-10-23 06:53:23 +00:00
comunicmobile/lib/utils/list_utils.dart

14 lines
268 B
Dart
Raw Normal View History

/// List utilities
///
/// @author Pierre HUBERT
2019-04-24 15:46:25 +00:00
/// Transform a list of dynamic thins into something a list of ints
List<int> listToIntList(List<dynamic> srcList){
List<int> list = List();
srcList.forEach((e){
list.add(int.parse(e));
});
return list;
}