ValidationError class
Stores the validation result of a single field.
Constructors
- ValidationError.new({required String fieldId, required JustValidator validator, required String message})
-
const
Properties
- fieldId → String
-
The ID of the field where the error occurred.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- message → String
-
The error message for the user.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- validator → JustValidator
-
The ID of the validator (e.g., 'required', 'minLength')
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.
override