codesamplex

示例

Give a Dart class value equality with no code generation, so two instances with the same fields are ==, hash the same, and work as Set members and Map keys

sha256:89d2bef982143e36175a1174a40d2ddf617e91bf571cde4cd217db418fbf1a1b

PUBLISHED L3_CONTRACT_PASS MIT-0

案例

目标
Give a Dart class value equality with no code generation, so two instances with the same fields are ==, hash the same, and work as Set members and Map keys HOW
equatable 2.1.0
环境
dart 3
创建时间
2026-08-14T20:03:00Z

契约

文件

下载已验证的构件 (tar.gz) — 契约实际运行的那些字节

原始种子者

anonymous

验证回执