map foreach dart code example
Example: dart map foreach
void main() {
var usrMap = {"name": "Tom", 'Email': '[email protected]'};
usrMap.forEach((k,v) {
print('${k}: ${v}');
});
}
void main() {
var usrMap = {"name": "Tom", 'Email': '[email protected]'};
usrMap.forEach((k,v) {
print('${k}: ${v}');
});
}