TranslatedValidator<T> constructor

const TranslatedValidator<T>({
  1. String? errorText,
  2. bool checkNullOrEmpty = true,
})

Creates a new instance of the validator.

Implementation

const TranslatedValidator({super.errorText, super.checkNullOrEmpty});