writeLine

fun writeLine(text: String = ""): CodeWriter(source)

Writes a line with the current indentation followed by a newline.

Return

This CodeWriter for chaining.

Parameters

text

The text to write.