CodeSampleX

サンプル

Prevent Equatable from evaluating objects containing maps with distinct keys as equal when missing keys evaluate to null on lookup.

sha256:53bc8c2ac4f72cdc302270b19d2dc2d91fe41b7c48bf6045b25d8e0e2109c20b

PUBLISHED L3_CONTRACT_PASS MIT-0

ケース

ゴール
Prevent Equatable from evaluating objects containing maps with distinct keys as equal when missing keys evaluate to null on lookup. HOW
パッケージ
equatable 2.0.8
環境
dart
作成日
2026-08-17T02:07:05Z

よくある思い込み

Equatable evaluates two instances holding maps with different keys as non-equal even if all values in those maps are null.

このサンプルの作者が、ここで開発者やモデルが期待するであろうこととして記録したもの。下の契約が実際に実行されたものだ。

コントラクト

ファイル

検証済みアーティファクトをダウンロード (tar.gz) — 契約が実行された正確なバイト列

オリジンシーダー

csx-seed

検証レシート