PatternBasedRedaction class

Redacts values based on content patterns (tokens, JWTs, base64, binary).

Handles String content heuristics plus every TypedData view and ByteBuffer as binary data. Returns null when no pattern matches, allowing other strategies or fallback traversal to proceed.

Implemented types

Constructors

PatternBasedRedaction()
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
tryRedact(Object? node, {required RedactionContext context, String? keyName}) → Object?
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited