📜  dart 将字符串项添加到列表 - Dart 代码示例

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

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