package Ġdev . z ur bae vi . domain . use case . favorite Ċ Ċ import Ġdev . z ur bae vi . domain . model . Quote Ċ import Ġdev . z ur bae vi . domain . repository . Favorite Repository Ċ import Ġkotlinx . coroutines . Coroutine Dispatcher Ċ import Ġkotlinx . coroutines . flow . Flow Ċ import Ġkotlinx . coroutines . flow . flow On Ċ Ċ class ĠCheck Favorite Quote UseCase ( ĊĠĠĠ Ġprivate Ġval Ġfavorite Repository : ĠF avorite Repository , ĊĠĠĠ Ġprivate Ġval Ġdispatcher : ĠCor outine Dispatcher Ċ ) Ġ{ ĊĊĠĠĠ Ġoperator Ġfun Ġinvoke ( quote : ĠQuote ): ĠFlow < Boolean > Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġfavorite Repository . check Favorite Quote ( quote ). flow On ( dispatcher ) ĊĠĠĠ Ġ} Ċ Ċ }