<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hayato-sakaida-rh</author_name>
  <author_url>https://blog.hatena.ne.jp/hayato-sakaida-rh/</author_url>
  <blog_title>Devlog by Reazon Holdings</blog_title>
  <blog_url>https://techblog.reazon.jp/</blog_url>
  <categories>
  </categories>
  <description>menu事業部 フロントエンドエンジニアの坂井田です。 皆さんは Enhanced enums を使って実装する場面はありますか。 業務でFlutterを使って実装している際に使う場面があったので、enumとあわせて書き方をご紹介します！ 🥚 enumの基本の書き方 enum SimpleEnum { hoge, fuga, piyo, } これは Enhanced enums ではなく enum の書き方です。 この場合 SimpleEnum.fuga.index で値を取得できますが、中身は 0 スタートの連番になります。 // 値を取得する書き方 print(SimpleEnum.fug…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftechblog.reazon.jp%2Fentry%2F2024%2F08%2F06%2F113920&quot; title=&quot;Enhanced enums で任意の値をメンバにセットする - Devlog by Reazon Holdings&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/h/hayato-sakaida-rh/20240731/20240731125546.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2024-08-06 11:39:20</published>
  <title>Enhanced enums で任意の値をメンバにセットする</title>
  <type>rich</type>
  <url>https://techblog.reazon.jp/entry/2024/08/06/113920</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
