collectionToDelimitedString static method
Convert collection to delimited string
Implementation
static String collectionToDelimitedString(
Iterable? collection,
String delimiter, [
String prefix = '',
String suffix = ''
]) {
if (collection == null || collection.isEmpty) return '';
return collection.map((e) => '$prefix$e$suffix').join(delimiter);
}