FormioDiagnostic class

Represents a structured diagnostic message emitted by schema parsing, logic engine, script evaluation, or rendering.

Constructors

FormioDiagnostic({required FormioDiagnosticLevel level, required String code, required String message, String? componentKey, String? dataPath, Map<String, dynamic> details = const {}, DateTime? timestamp})

Properties

code → String
Short machine-readable code, e.g. 'UNSUPPORTED_COMPONENT', 'CYCLE_DETECTED', 'SCRIPT_EVALUATION_FAILED'.
final
componentKey → String?
The component key associated with this diagnostic, if applicable.
final
dataPath → String?
The data path associated with this diagnostic, if applicable.
final
details → Map<String, dynamic>
Additional diagnostic metadata or stack details.
final
hashCode → int
The hash code for this object.
no setterinherited
level → FormioDiagnosticLevel
The severity of the diagnostic.
final
message → String
Human-readable explanation.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
timestamp → DateTime
Timestamp when diagnostic was emitted.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

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