finalize

internal suspend fun finalize(password: String, output: <Error class: unknown class>): ExportResult

Finalize the export and write the data to the given output. This method should be called after all the data was added.