public String getNewline() {
        return currentState.newline;
    }
Gets the character used to represent newlines in the current state.

@return Returns the newline string.
smithy-utils/src/main/java/software/amazon/smithy/utils/AbstractCodeWriter.java