package Ġcom . mid night . core . use cases Ċ Ċ import Ġcom . mid night . core . data . Detail Repository Ċ import Ġcom . mid night . core . data . Movie Repository Ċ import Ġcom . mid night . core . domain . Data State Ċ import Ġcom . mid night . core . domain . Detail Model Core Ċ import Ġcom . mid night . core . domain . Movie Model Core Ċ import Ġkotlinx . coroutines . flow . Flow Ċ Ċ class ĠGet Detail Ġconstructor ( private Ġval Ġrepo : Detail Repository ) Ġ{ ĊĠĠĠ Ġsuspend Ġfun Ġexecute ( key : String , isConnected : Boolean , movie Id : Int ): ĠFlow < Data State < Detail Model Core >> ? Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġrepo . get Detail ( key , movie Id , Ġis Connected ) ĊĠĠĠ Ġ} Ċ Ċ }