performTypeValidation method

void performTypeValidation (String path, dynamic type, dynamic value, List<ValidationResult> results)

Validates a given value to match specified type. The type can be defined as a Schema, type, a type name or TypeCode When type is a Schema, it executes validation recursively against that Schema.

  • path a dot notation path to the value.
  • type a type to match the value type
  • value a value to be validated.
  • results a list with validation results to add new results.

See performValidation