validate method

Result validate(
  1. IValidator validator
)

Validates the map against the provided validator.

Implementation

Result validate(IValidator validator) {
  return validator.validate(this);
}