AbstractValidator<T> constructor

AbstractValidator<T>()

Initialize errors and rules objects

Implementation

AbstractValidator() {
  //FYI - RuleContainer is just a list of validators that are 'assigned' to a particular property to validate.
  _rules = Map<String, RuleContainer<T>>();
  allErrors = [];
}