RedactionToolPolicy class
Immutable configuration for the redaction pipeline.
Layer toggles are sparse: a layer missing from layerToggles falls back
to its default state (enabled, except RedactionLayer.pii which is
opt-in).
Per-tool redaction policy (issue #24 redact.toolPolicy): when
allow is non-empty only those tools are redacted; deny always wins.
Constructors
-
RedactionToolPolicy({Set<
String> allow = const {}, Set<String> deny = const {}})
Properties
-
allow
→ Set<
String> -
Only these tools are redacted (empty = all).
final
-
deny
→ Set<
String> -
These tools are never redacted (wins over allow).
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
appliesTo(
String toolName) → bool -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited