+ 1)); 诚然,这不太方便。 如果要迭代所有值,可以使用day.values: for (day theDay in day.values) {… ... enum day {MONDAY, TUESDAY} print( 'Today is $day.
確定! 回上一頁