validate abstract method

String? validate(
  1. String valueToValidate
)

Returns validation error messages as a single string joined with the newline character if the input valueToValidate does not pass validation and returns null otherwise.

Implementation

String? validate(String valueToValidate);