To print a list including square brackets we just use the simple print method. Example: void main(){ var myList = [1, 2, 3, 4, 5]; print(myList); }. Output:.
確定! 回上一頁