validateBracketSpec static method
void
validateBracketSpec(
- BracketSpec spec, {
- required File belowFile,
- required File atFile,
- required File aboveFile,
Spec-driven bracket validation entry point. Audit-side iteration over
DetectorMetadata.additionalBrackets calls this once per spec; the
public validateBracket(...) is preserved for existing test/audit
call sites that pass named args.
Behavior is identical to validateBracket — same error messages,
same numeric checks, same trace-record search. The only difference
is the call shape: spec-driven instead of named-args.
Implementation
static void validateBracketSpec(
BracketSpec spec, {
required File belowFile,
required File atFile,
required File aboveFile,
}) {
_validateOneBracket(
spec,
belowFile: belowFile,
atFile: atFile,
aboveFile: aboveFile,
);
}