📜  dart zip 两个列表 - Dart 代码示例

📅  最后修改于: 2022-03-11 14:48:04.548000             🧑  作者: Mango

代码示例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();