How to convert a list from one type to another without a for loop?
List <String> lstring = <String>["1", "2"];
List <int> lint = lstring.map(int.parse);
I get the error:
type 'MappedListIterable<String, int>' is not a subtype of type 'List<int>'