FieldValidator<I>.withMessage constructor

const FieldValidator<I>.withMessage({
  1. required String message,
  2. bool ignoreNullable = true,
})

Defines full validation message if validation fails.

Implementation

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