Quote extension

Extension on StringBuffer providing methods for converting objects to String literals enclosed by quotation marks.

on

Methods

writeAllQ(Iterable objects, {QuotationMark delimiter = QuotationMark.single, String separator = ', '}) → void
Writes objects in sequence to the buffer.
writelnAll(Iterable objects, [String separator = '']) → void
Writes objects in sequence to the buffer.
writelnAllQ(Iterable objects, {String separator1 = '', String separator2 = '', QuotationMark delimiter = QuotationMark.single}) → void
Writes objects in sequence to the buffer.
writelnQ(Object object, {QuotationMark delimiter = QuotationMark.single}) → void
Encloses obj with delimiter, adds a newline symbol and adds the resulting String to the buffer.
writeQ(Object obj, {QuotationMark delimiter = QuotationMark.single}) → void
Encloses obj with delimiter and writes the resulting String to the buffer.