package Ġcom . github . ll max im ll . m yst ory is my world . data . user . map pers Ċ Ċ import Ġcom . github . ll max im ll . m yst ory is my world . data . user . remote . UserDetails Dto Ċ import Ġcom . github . ll max im ll . m yst ory is my world . data . user . remote . User Dto Ċ import Ġcom . github . ll max im ll . m yst ory is my world . domain . models . user . User Update Ċ import Ġcom . parse . Parse Object Ċ import Ġcom . parse . Parse User Ċ Ċ internal Ġfun ĠParse User . to User Dto () Ġ= ĊĠĠĠ ĠUser Dto ( ĊĠĠĠĠĠĠĠ ĠcreatedAt Ġ= Ġthis . createdAt , ĊĠĠĠĠĠĠĠ ĠupdatedAt Ġ= Ġthis . updatedAt , ĊĠĠĠĠĠĠĠ ĠfirstName Ġ= Ġthis . getString (" firstName "), ĊĠĠĠĠĠĠĠ ĠlastName Ġ= Ġthis . getString (" lastName "), ĊĠĠĠĠĠĠĠ Ġusername Ġ= Ġthis . username , ĊĠĠĠĠĠĠĠ Ġabout Me Ġ= Ġthis . getString (" about Me "), ĊĠĠĠ Ġ) Ċ Ċ internal Ġfun ĠUser Update . to Dto () Ġ= ĊĠĠĠ ĠUser Dto ( ĊĠĠĠĠĠĠĠ ĠfirstName Ġ= Ġthis . firstName , ĊĠĠĠĠĠĠĠ ĠlastName Ġ= Ġthis . lastName , ĊĠĠĠĠĠĠĠ Ġabout Me Ġ= Ġthis . about Me , ĊĠĠĠ Ġ) Ċ Ċ internal Ġfun ĠMap < String , ĠAny >. to UserDetails Dto (): ĠUser Details Dto Ġ{ ĊĠĠĠ Ġval Ġuser Dto Ġ= Ġthis [" user "] Ġas ĠParse User ĊĠĠĠ Ġval Ġfollow ers Count Ġ= Ġthis [" followers Count "] Ġas ĠInt ĊĠĠĠ Ġval Ġfollowing Count Ġ= Ġthis [" following Count "] Ġas ĠInt ĊĠĠĠ Ġval Ġfollowing Ġ= Ġthis [" following "] Ġas ĠBoolean ĊĊĠĠĠ Ġreturn ĠUser Details Dto ( ĊĠĠĠĠĠĠĠ ĠcreatedAt Ġ= Ġuser Dto . createdAt , ĊĠĠĠĠĠĠĠ ĠupdatedAt Ġ= Ġuser Dto . updatedAt , ĊĠĠĠĠĠĠĠ ĠfirstName Ġ= Ġuser Dto . getString (" firstName "), ĊĠĠĠĠĠĠĠ ĠlastName Ġ= Ġuser Dto . getString (" lastName "), ĊĠĠĠĠĠĠĠ Ġusername Ġ= Ġuser Dto . username , ĊĠĠĠĠĠĠĠ Ġabout Me Ġ= Ġuser Dto . getString (" about Me "), ĊĠĠĠĠĠĠĠ Ġfollow ers Count Ġ= Ġfollow ers Count , ĊĠĠĠĠĠĠĠ Ġfollowing Count Ġ= Ġfollowing Count , ĊĠĠĠĠĠĠĠ Ġfollowing Ġ= Ġfollowing ĊĠĠĠ Ġ) Ċ }