validate abstract method
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);