package Ġtm idev . ap ire quest . domain . use case Ċ Ċ import Ġkotlinx . coroutines . flow . Flow Ċ import Ġtm idev . ap ire quest . data . Repository Json Placeholder Ċ import Ġtm idev . ap ire quest . domain . model . Post Ċ import Ġtm idev . ap ire quest . domain . type . Result Type Ċ import Ġjavax . inject . Inject Ċ Ċ class ĠGetUser Posts UseCase Impl Ġ@ Inject Ġconstructor ( ĊĠĠĠ Ġprivate Ġval Ġrepository : ĠRepository Json Placeholder Ċ ) Ġ: ĠGetUser Posts UseCase Ġ{ ĊĠĠĠ Ġoverride Ġfun Ġinvoke ( userId : ĠInt ): ĠFlow < Result Type < List < Post >>> Ġ= ĊĠĠĠĠĠĠĠ Ġrepository . getUser Posts ( userId Ġ= ĠuserId ) Ċ }