{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.excite.co.jp%2Fentry%2F2022%2F07%2F06%2F160819\" title=\" Dart2.17\u3067\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3055\u308c\u305fEnum\u306b\u3064\u3044\u3066 - \u30a8\u30ad\u30b5\u30a4\u30c8 TechBlog.\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_name":"exRyusei1026","published":"2022-07-06 16:08:19","provider_url":"https://hatena.blog","blog_title":"\u30a8\u30ad\u30b5\u30a4\u30c8 TechBlog.","description":"2.17\u4ee5\u524d\u306eEnum enum Fruit { apple, orange, grape, } \u3053\u306e\u3088\u3046\u306b\u30e1\u30f3\u30d0\u30fc\u3092\u5b9a\u7fa9\u3059\u308b\u3060\u3051\u3067\u3001Java\u306e\u3088\u3046\u306b\u4e2d\u306b\u5b9a\u6570\u3092\u5165\u308c\u308b\u3088\u3046\u306b\u3059\u308b\u305f\u3081\u306b\u306fExtension\u3092\u5b9a\u7fa9\u3057\u3066\u3042\u3052\u306a\u3044\u3068\u3044\u3051\u307e\u305b\u3093\u3067\u3057\u305f extension FruitExt on Fruit { String get name { switch (this) { case Fruit.apple: return '\u308a\u3093\u3054'; case Fruit.orange: return '\u307f\u304b\u3093'; case Fruit.grape: return '\u3076\u3069\u3046'; } } } 2.17\u4ee5\u964d\u306eEnum e\u2026","provider_name":"Hatena Blog","url":"https://tech.excite.co.jp/entry/2022/07/06/160819","width":"100%","title":" Dart2.17\u3067\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3055\u308c\u305fEnum\u306b\u3064\u3044\u3066","categories":["Flutter"],"image_url":null,"author_url":"https://blog.hatena.ne.jp/exRyusei1026/","type":"rich","version":"1.0","blog_url":"https://tech.excite.co.jp/","height":"190"}