validate abstract method
Return an error message if the value is invalid, otherwise return null.
Implementation
String? validate(dynamic value);
Return an error message if the value is invalid, otherwise return null.
String? validate(dynamic value);