package Ġnam . tran . domain Ċ Ċ import Ġnam . tran . domain . entity . Preference Entity Ċ import Ġnam . tran . domain . inter actor . app . I App UseCase Ċ import Ġnam . tran . domain . mapper . Data Entity Mapper Ċ import Ġnam . tran . fl atform . local . IP reference Ċ import Ġtran . nam . util . Constant Ċ import Ġjavax . inject . Inject Ċ Ċ class ĠApp UseCase Ġ@ Inject Ġinternal Ġconstructor ( ĊĠĠĠ Ġprivate Ġval Ġi Preference : ĠIP reference , ĊĠĠĠ Ġprivate Ġval Ġdata Entity Mapper : ĠData Entity Mapper Ċ ) Ġ: ĠI App UseCase Ġ{ ĊĠĠĠ Ġoverride Ġfun Ġlogout (): ĠPreference Entity Ġ{ ĊĠĠĠĠĠĠĠ Ġi Preference . save Token ( Constant . EMPTY ) ĊĠĠĠĠĠĠĠ Ġreturn Ġdata Entity Mapper . m Preference Entity Mapper . transform ( i Preference ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġget Preference (): ĠPreference Entity Ġ= Ġdata Entity Mapper . m Preference Entity Mapper . transform ( i Preference ) Ċ Ċ }