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

Code Example 1

// If you want an even shorter solution using the quiver package's zip function, you can do the following:
final c = zip([a, b]).map((item) => Foo(item[0], item[1])).toList();

Learn ReactJs, React Native from akashmittal.com