removePage

fun removePage(page: Page): Result<Unit>

Remove the given page. This is an IO operation and is not recommended to execute in the UI thread.


fun removePage(atIndex: Int): Result<Unit>

Remove the page with the given index. This is an IO operation and is not recommended to execute in the UI thread.


fun removePage(pageUuid: String): Result<Unit>

Remove the page with the given id. This is an IO operation and is not recommended to execute in the UI thread.