validate method
- String path,
- Schema schema,
- dynamic value,
- List<
ValidationResult> results
Validates a given value against this rule.
path
a dot notation path to the value.schema
a schema this rule is called fromvalue
a value to be validated.results
a list with validation results to add new results.