join function
Returns the joined elements of the list if the list is not null; otherwise null.
Example: print(join(null)); => null
print(join([1, 2]));
=> 12
Implementation
String join(List list, [String separator = '']) {
// if (list == null) {
// return null;
// }
return list.join(separator);
}