addDashToEmptyString method
Implementation
String addDashToEmptyString() {
if (this == null) {
return '-';
}
if ((this ?? '').isEmpty) {
return '-';
}
return this ?? '';
}
String addDashToEmptyString() {
if (this == null) {
return '-';
}
if ((this ?? '').isEmpty) {
return '-';
}
return this ?? '';
}