package Ġcom . an ang kur . budget ku . data . mapper Ċ Ċ import Ġcom . an ang kur . budget ku . data . model . Base Result Entity Ċ import Ġcom . an ang kur . budget ku . domain . model . Base Result Ċ Ċ class ĠBase Result Mapper < T >: ĠMapper < Base Result Entity < T >, ĠBase Result < T >> Ġ{ ĊĊĠĠĠ Ġcompanion Ġobject Ġ{ ĊĠĠĠĠĠĠĠ Ġprivate Ġvar ĠINSTANCE Ġ= Ġnull ĊĠĠĠĠĠĠĠ Ġfun Ġ< T > ĠgetInstance () Ġ= ĠINSTANCE Ġ?: ĠBase Result Mapper < T >() ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġmap To Entity ( type : ĠBase Result < T >): ĠBase Result Entity < T > Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠBase Result Entity ( type . status , Ġtype . data , Ġtype . message , Ġtype . isLoading ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġmap From Entity ( type : ĠBase Result Entity < T >): ĠBase Result < T > Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠBase Result ( type . status , Ġtype . data , Ġtype . message , Ġtype . isLoading ) ĊĠĠĠ Ġ} Ċ }