mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-11-25 22:39:22 +00:00
14 lines
256 B
Dart
14 lines
256 B
Dart
/// 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;
|
|
} |