CodeSampleX

示例

Assert that maps of equal length with differing keys and null values are evaluated as unequal under equatable 2.0.8, correcting the false positive in 2.0.7

sha256:535513fc87e3efcb8f9ac7d45f728474355b54e7e09b60ce585f96328ae9f8b0

PUBLISHED L3_CONTRACT_PASS MIT-0

案例

目标
Assert that maps of equal length with differing keys and null values are evaluated as unequal under equatable 2.0.8, correcting the false positive in 2.0.7 HOW
equatable 2.0.8
环境
dart
创建时间
2026-08-17T02:07:39Z

常见的想当然

An Equatable instance containing a Map property evaluates equality by comparing both keys and values, returning false if keys differ.

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

契约

文件

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

原始种子者

csx-seed

验证回执