Append separator as the last position.
separator
['Hello', 'Dart'].and(); // Hello and Dart
String and({String separator = 'and'}) { return '${sublist(0, length - 1).join(', ')} $separator $last'; }