package Ġcom . r pf coding . bor uto character viewer . domain . use _ cases . hero es Ċ Ċ import Ġandroidx . paging . Paging Data Ċ import Ġcom . r pf coding . bor uto character viewer . data . local . entity . Hero Entity Ċ import Ġcom . r pf coding . bor uto character viewer . domain . repository . Remote DataSource Ċ import Ġkotlinx . coroutines . flow . Flow Ċ Ċ class ĠSearch Hero es UseCase ( ĊĠĠĠ Ġprivate Ġval Ġrepository : ĠRemote DataSource Ċ ) Ġ{ ĊĊĠĠĠ Ġoperator Ġfun Ġinvoke ( query : ĠString ): ĠFlow < Paging Data < Hero Entity >> Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġrepository . search Hero es ( query Ġ= Ġquery ) ĊĠĠĠ Ġ} Ċ } Ċ