RedactionSettingsResolver class
A resolver that provides custom RedactionSettings for a scanned document based on its detected class information.
Add the resolver when you need per-document redaction behavior — for example, anonymizing different fields depending on the document's country or type. The resolver is invoked by the SDK immediately before the scanning result is finalized.
If not added, the SDK will use the default RedactionSettings for a given document class.
- Annotations
-
- @JsonSerializable.new(explicitToJson: true)
Constructors
-
RedactionSettingsResolver(List<
RedactionSettings> documentRedactionList) -
RedactionSettingsResolver.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
documentRedactionList
↔ List<
RedactionSettings> -
A list of redaction configurations evaluated by the SDK.
getter/setter pair
- 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
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited