delete

fun delete()

Deletes the document. This is an IO operation and is not recommended to execute in the UI thread.