ValidationException constructor

const ValidationException(
  1. String attribute,
  2. ValidationRule validationRule
)

Creates a new ValidationException using a attribute and validationRule.

Implementation

const ValidationException(this.attribute, this.validationRule);