joinToString method
Creates a String from all the elements separated using separator
and
using the given prefix
and postfix
if supplied.
Implementation
String joinToString({
Object separator = ', ',
Object prefix = '',
Object postfix = '',
int limit = -1,
Object truncated = '...',
Object Function(E element)? transform,
}) =>
joinTo<StringBuffer>(
buffer: StringBuffer(),
separator: separator,
prefix: prefix,
postfix: postfix,
limit: limit,
truncated: truncated,
transform: transform,
).toString();