validateValue abstract method

String? validateValue(
  1. T valueCandidate
)

Validates the value. Returns null if the value is valid, otherwise an error message. Call validate() instead of this method when using the validator.

Implementation

String? validateValue(T valueCandidate);