enum Status { none, running, stopped, paused } Status.values.forEach((it) => print('$it - index: ${it.index}')); Status.none - index: 0 ...
確定! 回上一頁