XcfWriteDiagnostic class final
One actionable preflight finding with a stable code and document location.
Constructors
- XcfWriteDiagnostic({required String code, required String path, required XcfDiagnosticSeverity severity, required String message})
-
Creates one immutable finding.
const
Properties
- code → String
-
Machine-readable category; applications should not parse the message.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
Human-readable explanation, without a proposed destructive fallback.
final
- path → String
-
Location such as
layers[2].properties[0].final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- severity → XcfDiagnosticSeverity
-
Whether this finding blocks a compatible write.
final
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