public override flush() as Void:
Flushes buffered JSON lines to the file. @example handler.flush()
handler.flush()