デメリットは、Enumごとに処理を追加しないといけないこと、staticが使えないこと。 enum Number { One, Two,} extension on Number { String get name => ...
確定! 回上一頁