package Ġcom . os am aa ft ab . d ind inn . domain . use case Ċ Ċ import Ġcom . os am aa ft ab . d ind inn . data . ApiError Handle Ċ import Ġcom . os am aa ft ab . d ind inn . domain . model . Menu Ċ import Ġcom . os am aa ft ab . d ind inn . domain . repository . Menu Repository Ċ import Ġcom . os am aa ft ab . d ind inn . domain . use case . base . Single UseCase Ċ import Ġio . reactivex . Single Ċ Ċ class ĠGet Menu Use case ( private Ġval Ġmenu Repository : ĠMenu Repository , Ġapi Error Handle : ĠApi Error Handle ) Ġ: ĊĠĠĠ ĠSingle UseCase < Any , ĠMenu >( api Error Handle ) Ġ{ ĊĠĠĠ Ġoverride Ġfun Ġrun ( input : ĠAny ?): ĠSingle < Menu > Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġmenu Repository . get Menus () ĊĠĠĠ Ġ} Ċ }