txtIsNullWithTitle function
Implementation
String txtIsNullWithTitle(txt, title, {nullTxt = "-"}) {
if (txt == null || txt == "") {
return nullTxt;
} else {
return title + ": " + txt;
}
}
String txtIsNullWithTitle(txt, title, {nullTxt = "-"}) {
if (txt == null || txt == "") {
return nullTxt;
} else {
return title + ": " + txt;
}
}