샘플
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.
이 샘플의 작성자가 여기서 개발자나 모델이 기대할 법한 내용으로 적어둔 것이다. 아래 계약이 실제로 실행된 것이다.
컨트랙트
- Comparing Equatable objects containing maps with disjoint keys like {'keyA': null} and {'keyB': null} evaluates to false because missing keys are checked with containsKey rather than resolving to null.
- Equatable props map comparison correctly checks key existence when values are null.
파일
- NOTES.md
- csx.json
- pubspec.lock
- pubspec.yaml
- test/contract.dart
검증된 아티팩트 내려받기 (tar.gz) — 컨트랙트가 실제로 실행된 바로 그 바이트
오리진 시더
검증 영수증
- dart 3 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · pub@1 · 2026-08-17 · ed25519:d91480838ac982c9