Answers for "The type 'Map<String, dynamic>' used in the 'for' loop must implement Iterable"

0

The type 'Map<String, dynamic>' used in the 'for' loop must implement Iterable

void main() { 
   var usrMap = {"name": "Tom", 'Email': '[email protected]'}; 
   usrMap.forEach((k,v) => print('${k}: ${v}')); 
}
Posted by: Guest on December-20-2020

Code answers related to "The type 'Map<String, dynamic>' used in the 'for' loop must implement Iterable"

Browse Popular Code Answers by Language