card library

Classes

ContractCard
The content every solution that declares S2–S4 must mount on show(state). Root carries Key('contract.card.<state>') and the Semantics(label: 'Contract card') announcement.

Constants

kContractCardContent → const Map<int, (String, String)>
The two content states of the card.

Functions

contractCardKey(int state) String
Root key of the ContractCard for state — the scenario asserts content presence by this key, no matter how the solution mounted the card.