package Ġcom . example . android . polit ical prepared ness . data Ċ Ċ import Ġcom . example . android . polit ical prepared ness . network . models . E lection Ċ import Ġcom . example . android . polit ical prepared ness . network . models . V oter Info Response Ċ Ċ interface ĠE lection DataSource Ġ{ ĊĊĠĠĠ Ġsuspend Ġfun Ġget E lection List (): ĠResult < List < E lection >> ĊĠĠĠ Ġsuspend Ġfun Ġdelete All E lection s () Ġ{ ĊĊĠĠĠ Ġ} ĊĊĠĠĠ Ġsuspend Ġfun Ġsave E lection ( election : ĠE lection ) Ġ{ ĊĊĠĠĠ Ġ} ĊĊĠĠĠ Ġsuspend Ġfun Ġset Favorite E lection ( election Id : ĠInt , Ġis Favorite : ĠBoolean ) Ġ{ ĊĊĠĠĠ Ġ} ĊĊĊĠĠĠ Ġsuspend Ġfun Ġget V oter Info ( address : ĠString , Ġelection Id : ĠInt ): ĠResult < V oter Info Response > Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠResult . Error ( Un initialized Property AccessException ()) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġsuspend Ġfun Ġget E lection ( election Id : ĠInt ): ĠE lection ? ĊĊĠĠĠ Ġsuspend Ġfun ĠgetAll Saved E lection s (): Result < List < E lection >> Ċ }