withString<R> function
Implementation
R? withString<R>(Iterable<String?> strings, R Function(String string) handler) {
for (final string in strings) {
if (string != null && string.isNotEmpty) {
return handler(string);
}
}
return null;
}