ValidaError class

Error generated in the process of validating a class or field

Constructors

ValidaError({required String property, required Object? value, required String errorCode, required String message, Object? validationParam, Validation? nestedValidation})
const

Properties

errorCode String
final
hashCode int
The hash code for this object.
no setterinherited
message String
final
nestedValidation Validation?
final
property String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
validationParam Object?
final
value Object?
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

Static Methods

fromNested(String property, Validation validation) ValidaError?