validate abstract method
This method should return null if the field is valid, a string corresponding to the error otherwise.
Implementation
String? validate(T value);
This method should return null if the field is valid, a string corresponding to the error otherwise.
String? validate(T value);