ValidationIssue class

One validation problem.

Implemented types

Constructors

ValidationIssue({required List<Object> path, required String code, required String message, Map<String, Object?> params = const <String, Object?>{}})

Properties

code → String
Short code, like required or min_length. See IssueCodes.
final
dottedPath → String
The path joined with dots, like products.0.name.
no setter
hashCode → int
The hash code for this object.
no setterinherited
message → String
Text for people to read.
final
params → Map<String, Object?>
Values used in the message, like {'min': 3}.
final
path → List<Object>
Where the problem is, like ['products', 0, 'name'].
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.
override

Operators

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