If we want to use it as a number value we need to use the index getter property. It always starts from 0. print(MyEnum.hello.index); // 0 print( ...
確定! 回上一頁