trailingNewline property

bool trailingNewline
final

Add a trailing newline (\n) to the end of the file

Combine this option with trim to achieve a single empty line at the end.

Implementation

final bool trailingNewline;