Check out example codes for "dart for in loop". It will help you in understanding the concepts better.

Code Example 1

void main() { 
   var obj = [12,13,14]; 
   
   for (var prop in obj) { 
      print(prop); 
   } 
}

Learn ReactJs, React Native from akashmittal.com