firstNonEmpty function
Implementation
String? firstNonEmpty(Iterable<String?>? strings) {
if (strings == null) {
return null;
} else {
for (final string in strings) {
if (string != null && string.isNotEmpty) {
return string;
}
}
return null;
}
}