Returns a default value if the string is null or empty.
String validate({String value = ''}) => isEmptyOrNull ? value : this;