GetCategoriesAndCitiesUseCase

class GetCategoriesAndCitiesUseCase(categoryRepository: CategoryService, categoryMapper: CategoryMapper, categoryCache: CategoryCache, coroutineDispatcher: CoroutineDispatcher) : SuspendUseCase<CategoryParams, Map<String, List<CategoryResponse>>>

Constructors

Link copied to clipboard
constructor(categoryRepository: CategoryService, categoryMapper: CategoryMapper, categoryCache: CategoryCache, coroutineDispatcher: CoroutineDispatcher)

Functions

Link copied to clipboard
suspend operator fun invoke(parameter: CategoryParams): Resource<Map<String, List<CategoryResponse>>>

Executes the use case with the given parameter.