{"provider_name":"Hatena Blog","width":"100%","provider_url":"https://hatena.blog","description":"Kotlin\u3067\u306fdata class\u306f\u3053\u306e\u3088\u3046\u306b\u66f8\u3051\u308b\u3002 data class User(val name: String, val age: Int) \u3053\u308c\u306f\u3001 \u305f\u3060\u306e\u30af\u30e9\u30b9\u3067\u306f\u306a\u304f\u3066 equals() / hashCode() / toString() / copy() \u304c\u5b9f\u88c5\u3055\u308c\u308b\u30af\u30e9\u30b9\u306b\u306a\u308b\u3002 \u306a\u306e\u3067\u6b21\u306e\u30b3\u30fc\u30c9\u306ftrue\u304c\u8fd4\u308b\u3002 User(name: \"hisaichi5518\", age: 1) == User(name: \"hisaichi5518\", age: 1) //=> true Dart\u3067\u3053\u3046\u3044\u3046\u30af\u30e9\u30b9\u3092\u4f5c\u3063\u3066\u307f\u3066\u3001\u4e0a\u8a18\u306e\u3088\u3046\u306a\u6bd4\u8f03\u3059\u308b\u3068false\u304c\u8fd4\u3063\u3066\u3057\u307e\u3046\u3002 cla\u2026","height":"190","blog_url":"https://hisaichi5518.hatenablog.jp/","author_name":"hisaichi5518","type":"rich","title":"Dart \u3067\u7c21\u5358\u306b data class \u3092\u4f5c\u308a\u305f\u3044","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhisaichi5518.hatenablog.jp%2Fentry%2F2019%2F12%2F02%2F205539\" title=\"Dart \u3067\u7c21\u5358\u306b data class \u3092\u4f5c\u308a\u305f\u3044 - \u30d1\u30eb\u30ab\u30ef2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":null,"blog_title":"\u30d1\u30eb\u30ab\u30ef2","categories":[],"published":"2019-12-02 20:55:39","url":"https://hisaichi5518.hatenablog.jp/entry/2019/12/02/205539","author_url":"https://blog.hatena.ne.jp/hisaichi5518/"}