RedactCommandOutcome class

The outcome of a /redact [args] line: the lines to print and the pipeline config to install (newConfig null = keep the current one).

Pure so both the CLI command and its tests render the same output.

Constructors

RedactCommandOutcome(List<String> lines, {RedactionConfig? newConfig})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
lines → List<String>
Lines to print to the user.
final
newConfig → RedactionConfig?
The config to install on the pipeline (live toggle), if any.
final
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

Operators

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