quotedAndCommaSeparatedWithAnd property
String
get
quotedAndCommaSeparatedWithAnd
Returns a comma-separated string with single quotes around each element and the last element preceded by 'and'.
Examples:
'a', 'b'→ "'a' and 'b'"'a', 'b', 'c'→ "'a', 'b', and 'c'"
Implementation
String get quotedAndCommaSeparatedWithAnd =>
_formatWithConjunction('and', quoted: true);