RedactionConfig.fromYaml constructor

RedactionConfig.fromYaml(
  1. Map? yaml
)

Parses the redact: yaml section (same schema as fromJson; invalid values fall back to defaults like every other config section).

Implementation

factory RedactionConfig.fromYaml(Map<dynamic, dynamic>? yaml) =>
    RedactionConfig.fromJson(yaml);