Пример
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.
Автор образца записал здесь то, чего ожидал бы разработчик или модель. Контракт ниже — это то, что действительно выполнялось.
Контракт
- Two Equatable instances compare equal when their map-valued props contain the same key-value entries.
- Equal-length map props with different keys remain unequal in both comparison directions even when the differing 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