JoinWithLastSeparatorOnIterableX extension
- on
Methods
-
joinWithLastSeparator(
{String separator = ', ', String lastSeparator = ' & '}) → String -
Available on Iterable, provided by the JoinWithLastSeparatorOnIterableX extension
Joins the elements of the iterable into a single string with the givenseparator
andlastSeparator
. ThelastSeparator
is used to join the last two elements of the iterable.