fileNameFor method

String fileNameFor(
  1. String scenario
)

The deterministic receipt name for scenario (latest-wins per the saveNamed contract). Sanitized with the ReceiptStore's rules so the name the command predicts always matches the name on disk.

Implementation

String fileNameFor(String scenario) =>
    'world-run-${_sanitize(scenario)}.json';