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

検証レシート