📜  dart 在数组前面添加 - Dart 代码示例

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

代码示例2
List list = ["B", "C", "D"];
list.insert(0, "A"); // at index 0 we are adding A
// list now becomes ["A", "B", "C", "D"]