performValidation method
Validates a given value against the schema and configured validation rules.
path
a dot notation path to the value.value
a value to be validated.results
a list with validation results to add new results.
Implementation
@override
void performValidation(
String? path, dynamic value, List<ValidationResult> results) {
if (getName() != null) {
path = path != '' && path != null ? path + '.' + getName()! : getName()!;
}
super.performValidation(path, value, results);
super.performTypeValidation(path, getType(), value, results);
}