dart iterate over 2 lists code example
Example: dart zip two lists
// 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();
// 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();