NegativeNumberValidator<T> constructor

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

Constructor for the negative number validator.

Implementation

const NegativeNumberValidator({
  /// {@macro base_validator_error_text}
  super.errorText,

  /// {@macro base_validator_null_check}
  super.checkNullOrEmpty,
});