ValidationData class

Represents data used for validation, including the value to be validated and a list of validator annotation.

Constructors

ValidationData.new({required String instanceMemberSymbol, required dynamic valueToValidate, required List<ValidatorAnnotation> annotations})
Creates an instance of ValidationData.
const

Properties

annotations List<ValidatorAnnotation>
List of validator annotation.
final
hashCode int
The hash code for this object.
no setterinherited
instanceMemberSymbol String
property or method of instance symbol
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
valueToValidate → dynamic
The value to be validated.
final

Methods

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

Operators

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