render method

String render()

The catalog as the text of setupStepsFile: JSON indented by two spaces, with a final line break.

Implementation

String render() => '${const JsonEncoder.withIndent('  ').convert({
          'steps': [for (final step in steps) step.toJson()],
          'retired': [for (final step in retired) step.toJson()],
        })}\n';