package Ġcom . va ib hav . notes app compose . data . models . map pers Ċ Ċ import Ġcom . va ib hav . notes app compose . data . models . entity . Collection Ċ import Ġcom . va ib hav . notes app compose . data . models . remote . responses . Collection Response Item Ċ import Ġcom . va ib hav . notes app compose . data . util . mapper . Domain Map pers Ċ Ċ class ĠCollection Mapper Ġ: ĠDomain Map pers < Collection Response Item , ĠCollection > Ġ{ ĊĠĠĠ Ġoverride Ġfun Ġmap To Domain Model ( model : ĠCollection Response Item ): ĠCollection Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠCollection ( ĊĠĠĠĠĠĠĠĠĠĠĠ Ġid Ġ= Ġmodel . id , ĊĠĠĠĠĠĠĠĠĠĠĠ Ġname Ġ= Ġmodel . name , ĊĠĠĠĠĠĠĠĠĠĠĠ Ġis Important Ġ= Ġmodel . is Important , ĊĠĠĠĠĠĠĠĠĠĠĠ Ġtime Stamp Ġ= Ġmodel . time Stamp ĊĠĠĠĠĠĠĠ Ġ) ĊĠĠĠ Ġ} ĊĊĊĠĠĠ Ġoverride Ġfun Ġmap To Domain Model List ( model List : ĠList < Collection Response Item >): ĠList < Collection > Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġmodel List . map Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġmap To Domain Model ( it ) ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} ĊĊ Ċ }