performTypeValidation method Null safety

void performTypeValidation(
  1. String? path,
  2. dynamic type,
  3. dynamic value,
  4. 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