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