Map<String, Object?> toJson() => { 'command': 'zfa zap conform', 'ok': ok, 'total': checks.length, 'passed': passed, 'failed': failed, 'checks': [for (final c in checks) c.toJson()], };