package Ġcom . example . made . core . domain . use case Ċ Ċ import Ġcom . example . made . core . data . Resource Ċ import Ġcom . example . made . core . domain . model . Movie Ċ import Ġkotlinx . coroutines . flow . Flow Ċ Ċ interface ĠMovie UseCase Ġ{ ĊĊĠĠĠ Ġfun Ġget Pop ular Movies (): ĠFlow < Resource < List < Movie >>> ĊĊĠĠĠ Ġfun Ġget Top R ated Movies (): ĠFlow < Resource < List < Movie >>> ĊĊĠĠĠ Ġfun Ġget Up coming Movies (): ĠFlow < Resource < List < Movie >>> ĊĊĠĠĠ Ġfun Ġget Search Movie ( query : ĠString ): ĠFlow < Resource < List < Movie >>> ĊĊĠĠĠ Ġfun Ġget Favorite Movie (): ĠFlow < List < Movie >> ĊĊĠĠĠ Ġfun Ġcheck Favorite ( movie Id : ĠString ): ĠFlow < Int > ĊĊĠĠĠ Ġfun Ġinsert Favorite ( movie : ĠMovie ) ĊĊĠĠĠ Ġfun Ġdelete Favorite ( movie : ĠMovie ) Ċ Ċ }