¿Qué hará por cada uno en dardo?
void main() {
var usrMap = {"name": "Tom", 'Email': '[email protected]'};
usrMap.forEach((k,v) => print('${k}: ${v}'));
}
Shadow
void main() {
var usrMap = {"name": "Tom", 'Email': '[email protected]'};
usrMap.forEach((k,v) => print('${k}: ${v}'));
}
List<int> ages = [29, 27, 42];
ages.forEach((int age) => print(age));