String? joinOrNull(Iterable<String?>? items, {String separator = " "}) { if (items?.isNotEmpty == true) { return items!.join(separator); } else { return null; } }