//MetaPhrase/com.github.diegoberaldin.metaphrase.domain.spellcheck.usecase/DefaultValidateSpellingUseCase
DefaultValidateSpellingUseCase
[jvm]
class DefaultValidateSpellingUseCase(repository: SpellCheckRepository, dispatchers: CoroutineDispatcherProvider) : ValidateSpellingUseCase
Constructors
DefaultValidateSpellingUseCase | [jvm] constructor(repository: SpellCheckRepository, dispatchers: CoroutineDispatcherProvider) |
Functions
Name | Summary |
---|---|
invoke | [jvm] open suspend operator override fun invoke(input: List<ValidateSpellingUseCase.InputItem>, lang: String): Map<String, List<String>> Check for spelling errors a given messaeg. |