DefaultValueValidator<T> constructor

const DefaultValueValidator<T>(
  1. T defaultValue,
  2. FormFieldValidator<T> validator
)

Constructor for the default value validator.

Implementation

const DefaultValueValidator(this.defaultValue, this.validator)
  : super(checkNullOrEmpty: false);