Lista de dardos Agregar
void main() {
List l = [1,2,3];
l.addAll([12,13]);
print(l);
}
Shadow
void main() {
List l = [1,2,3];
l.addAll([12,13]);
print(l);
}
List<String> list = ["B", "C", "D"];
list.insert(0, "A"); // at index 0 we are adding A
// list now becomes ["A", "B", "C", "D"]