var ite = Iterable.empty(); print(ite); // ()
var ite1 = Iterable.generate(5); print(ite1); // (0, 1, 2, 3, 4)
至于Iterable的所有属性和函数的介绍和使用,可参考List用法, 因为List是继承于Iterable的, 所以Iterable有的属性和方法List中都有
【Dart学习】--之Iterable相关方法总结
原文:https://www.cnblogs.com/lxlx1798/p/11371281.html