SecurityResult constructor
const
SecurityResult({})
Creates a result. Prefer the allow, block, or flag factories for consistent verdict/allowed pairing.
Implementation
const SecurityResult({
required this.allowed,
required this.riskScore,
required this.flags,
required this.message,
required this.verdict,
this.layerName,
});