package Ġcom . n andra . covid 1 9 id . core . data . source . remote . network Ċ Ċ import Ġcom . n andra . covid 1 9 id . core . data . source . remote . response . L ma o N inja Countries Response Ċ import Ġcom . n andra . covid 1 9 id . core . data . source . remote . response . L ma o N inja Country Response Ċ import Ġio . reactivex . Flow able Ċ import Ġretrofit 2 . http . GET Ċ import Ġretrofit 2 . http . Path Ċ import Ġretrofit 2 . http . Query Ċ Ċ interface ĠL ma o N inja ApiService Ġ{ ĊĠĠĠ Ġ@ GET (" countries /{ country }") ĊĠĠĠ Ġfun Ġget Country Data ( ĊĠĠĠĠĠĠĠ Ġ@ Path (" country ") Ġcountry : ĠString ĊĠĠĠ Ġ) Ġ: ĠFlow able < L ma o N inja Country Response > ĊĊĠĠĠ Ġ@ GET (" all ") ĊĠĠĠ Ġfun Ġget Global Data ( ĊĠĠĠĠĠĠĠ Ġ@ Query (" y esterday ") Ġinclude Y esterday : ĠBoolean Ġ= Ġfalse ĊĠĠĠ Ġ) Ġ: ĠFlow able < L ma o N inja Country Response > ĊĊĠĠĠ Ġ@ GET (" countries ") ĊĠĠĠ Ġfun Ġget Countries Data () Ġ: ĠFlow able < L ma o N inja Countries Response > Ċ }