/* Ċ Ġ* ĠCreated Ġby ĠKar ic ĠKen an Ġon Ġ 8 . 3 . 2 0 2 1 Ċ Ġ* ĠCopyright Ġ( c ) Ġ 2 0 2 1 Ġ. ĠAll Ġrights Ġreserved . Ċ Ġ*/ Ċ Ċ package Ġio . ae thi bo . fire share . use cases Ċ Ċ import Ġio . ae thi bo . fire share . data . remote . main . Main Repository Ċ import Ġio . ae thi bo . fire share . domain . Follow ResponseBody Ċ import Ġio . ae thi bo . fire share . framework . utils . Resource Ċ Ċ interface ĠFollow User UseCase Ġ{ ĊĠĠĠ Ġsuspend Ġoperator Ġfun Ġinvoke ( uid : ĠString ): ĠResource < Follow ResponseBody > Ċ } Ċ Ċ class ĠFollow User UseCase Impl ( private Ġval Ġrepository : ĠMain Repository ) Ġ: ĠFollow User UseCase Ġ{ ĊĊĠĠĠ Ġoverride Ġsuspend Ġfun Ġinvoke ( uid : ĠString ): ĠResource < Follow ResponseBody > Ġ= ĊĠĠĠĠĠĠĠĠĠĠĠ Ġrepository . toggle Follow ForUser ( uid ) Ċ }