LogValidator<T> constructor

const LogValidator<T>({
  1. String log(
    1. T? value
    )?,
  2. String? errorText,
})

Constructor for the log validator.

Implementation

const LogValidator({
  this.log,

  /// {@macro base_validator_error_text}
  super.errorText,
}) : super(checkNullOrEmpty: false);