// Dart语言List.single方法
void main() {
var lst = new List();
lst.add(12);
print("The list has only one element: ${lst.single}");
}
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/266157.html
// Dart语言List.single方法
void main() {
var lst = new List();
lst.add(12);
print("The list has only one element: ${lst.single}");
}
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/266157.html