joinString function

String joinString(
  1. void builder(
    1. StringJoiner buffer
    ), [
  2. String? separator
])

Implementation

String joinString(void builder(StringJoiner buffer), [String? separator]) {
  final buffer = StringJoiner(separator);
  builder(buffer);
  return buffer.toString();
}