Validators are used to validate data against a schema
The name provides a handy string to use in error messages.
Validators are callable classes that usually have that single instance method.
- Implementers
- AdditionalPropertiesValidator
- ConstValidator
- DependentRequired
- EnumValidator
- ExactLength
- ExclusiveMaximum
- ExclusiveMinimum
- InRange
- InRangeLength
- ItemCount
- ItemsValidator
- Maximum
- MaximumLength
- MaxItems
- MaxProperties
- Minimum
- MinimumLength
- MinItems
- MinProperties
- MultipleOf
- PatternValidator
- PropertiesValidator
- Required
- TypeValidator
- UniqueItems
Properties
Methods
-
call(
T input) → bool -
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