FormValidationIssue class

A validation issue found during document validation.

Constructors

FormValidationIssue({required String code, required String message, required String path, String? severity, Map<String, dynamic>? context})
FormValidationIssue.fromJson(Map<String, dynamic> json)
Create from JSON.
factory

Properties

code → String
Issue code for programmatic handling.
final
context → Map<String, dynamic>?
Additional context for the issue.
final
hashCode → int
The hash code for this object.
no setterinherited
message → String
Human-readable issue message.
final
path → String
Path to the problematic field or block.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
severity → String?
Severity level (e.g., 'error', 'warning', 'info').
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Convert to JSON.
toString() → String
A string representation of this object.
inherited

Operators

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