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 given separator and lastSeparator. The lastSeparator is used to join the last two elements of the iterable.