// Dart语言List.single方法
void main() { 
   var lst = new List(); 
   lst.add(12);
   print("The list has only one element: ${lst.single}"); 
}