ArgumentHasher class
Hashes tool-call arguments (FR-008).
By default, every argument field is hashed. Fields listed in
allowlist are recorded in cleartext; all others are replaced with
a __hashed__:<sha256-hex-prefix> marker in cleartextArgs.
Constructors
-
ArgumentHasher({Set<
String> allowlist = const <String>{}})
Properties
Methods
-
hash(
Map< String, Object?> args) → ({Map<String, Object?> cleartext, String hash}) -
Returns a tuple of (overall arguments hash, cleartext args map).
override
-
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