package Ġcom . mar co hc . termin ator . core . firebase . auth Ċ Ċ import Ġandroid . content . Context Ċ import Ġcom . go j uno . k optional . Optional Ċ import Ġcom . google . android . gms . auth . api . signin . Google SignIn Ċ import Ġio . reactivex . Single Ċ Ċ class ĠGet Google User UseCase ( private Ġval Ġcontext : ĠContext ) Ġ{ ĊĊĠĠĠ Ġfun Ġexecute () Ġ= ĠSingle . from Callable Ġ{ ĊĠĠĠĠĠĠĠ ĠGoogle SignIn . getLast Signed In Account ( context ) Ġ?: Ġthrow ĠGoogle User Not LoggedIn Exception () ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġexecute Optional () Ġ= ĠSingle . from Callable Ġ{ ĊĠĠĠĠĠĠĠ ĠOptional . to Optional ( Google SignIn . getLast Signed In Account ( context )) ĊĠĠĠ Ġ} Ċ } Ċ