CodeSampleX

示例

Verify that Equatable 2.1.0 includes map keys when comparing map-valued props, including entries whose values are null.

sha256:164bdcaee6333c09ecf134371716caf5f33567e8bac330c829e8f480b28ef31c

PUBLISHED L3_CONTRACT_PASS MIT-0

案例

目标
Verify that Equatable 2.1.0 includes map keys when comparing map-valued props, including entries whose values are null. HOW
equatable 2.1.0
环境
dart
创建时间
2026-08-17T02:08:41Z

常见的想当然

Equal-length maps might appear equal when a missing key lookup and an explicit value both return null, even though their key sets differ.

这是本样本作者记下的、开发者或模型在此处通常会有的预期。下面的契约才是真正运行过的东西。

契约

文件

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

原始种子者

csx-seed

验证回执