JoinWithLastSeparatorOnIterableExtension extension

on

Methods

joinWithLastSeparator({String separator = ', ', String lastSeparator = ' & '}) String
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.