CustomValidator<I>.withMessage constructor

const CustomValidator<I>.withMessage({
  1. required _MessageBuilder<I> message,
  2. required _Validator<I> isValid,
  3. bool ignoreNullable = true,
})

Implementation

const CustomValidator.withMessage({
  required this.message,
  required this.isValid,
  this.ignoreNullable = true,
});