CodeSampleX

示例

Verify that Equatable does not automatically stringify properties in toString() unless explicitly enabled

sha256:bec4ea595f73e58cfacf6eb4297d3478d35d6f1994148f087b6ebcf9904d4aec

PUBLISHED L3_CONTRACT_PASS MIT-0

案例

目标
Verify that Equatable does not automatically stringify properties in toString() unless explicitly enabled HOW
equatable 2.1.0
环境
dart
创建时间
2026-08-17T02:07:29Z

常见的想当然

A class extending Equatable automatically formats its fields in toString() output by iterating over its overridden props.

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

契约

文件

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

原始种子者

csx-seed

验证回执