validateStringField static method
Implementation
static String? validateStringField(String? value, String fieldName) {
if (value == null || value.isEmpty || value.length < 1) {
return makeValidateFieldMessage(fieldName);
}
return null;
}
static String? validateStringField(String? value, String fieldName) {
if (value == null || value.isEmpty || value.length < 1) {
return makeValidateFieldMessage(fieldName);
}
return null;
}