card library
Classes
- ContractCard
-
The content every solution that declares S2–S4 must mount on
show(state). Root carriesKey('contract.card.<state>')and theSemantics(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
ContractCardforstate— the scenario asserts content presence by this key, no matter how the solution mounted the card.