您现在可以从Dart 2.3开始传播
var a = [0,1,2,3,4];var b = [6,7,8,9];var c = [...a,5,...b];print(c); // prints: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
欢迎分享,转载请注明来源:内存溢出
您现在可以从Dart 2.3开始传播
var a = [0,1,2,3,4];var b = [6,7,8,9];var c = [...a,5,...b];print(c); // prints: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)