DocumentModel

constructor(scope: CoroutineScope = CoroutineScope(Dispatchers.IO), documentStore: DocumentStore, documentTypeRepository: DocumentTypeRepository?)

Parameters

scope

launches coroutines

documentStore

the DocumentStore which manages Document and Credential instances.

documentTypeRepository

a DocumentTypeRepository with information about document types or null.