📅  最后修改于: 2022-03-11 14:48:02.406000             🧑  作者: Mango
You can ensure that tempOutput is not a fixed-length list by initializing it as
var tempOutput = new List.from(input);
thereby declaring tempOutput to be a mutable copy of input.