validateOrThrow method
Implementation
void validateOrThrow(Object value) {
final result = validate([], value);
if (!result.isValid) {
throw SchemaValidationException(result);
}
}
void validateOrThrow(Object value) {
final result = validate([], value);
if (!result.isValid) {
throw SchemaValidationException(result);
}
}