checkValidStringWithToDisplayCaseNew function
Implementation
checkValidStringWithToDisplayCaseNew(String? value) {
if (value == null || value == "null" || value == "<null>") {
value = "";
} else if (value.isEmpty) {
value = "";
}
if (value.isEmpty) {
return value.trim();
} else {
return toDisplayCase(value.trim());
}
}