getDocumentFlow

final StateFlow<ResultWrapper<Document>> getDocumentFlow()

A flow for getting the Document set for review setDocumentForReview.

It always starts with ResultWrapper.Loading when setting a document. Document will be wrapped in ResultWrapper.Success, otherwise the throwable will be in a ResultWrapper.Error.

It never completes.