package Ġcom . z iz oh anto . android . to buy . shopping _ list . presentation . map pers Ċ Ċ import Ġcom . z iz oh anto . android . to buy . domain . models . Shopping List With Products Ċ import Ġcom . z iz oh anto . android . to buy . presentation . mapper . Model Mapper Ċ import Ġcom . z iz oh anto . android . to buy . shopping _ list . presentation . models . Shopping List With Products Model Ċ import Ġjavax . inject . Inject Ċ Ċ class ĠShop ping List With Products Model Mapper Ġ@ Inject Ġconstructor ( ĊĠĠĠ Ġprivate Ġval Ġshopping ListModel Mapper : ĠShop ping ListModel Mapper , ĊĠĠĠ Ġprivate Ġval Ġproduct Model Mapper : ĠProduct Model Mapper Ċ ) Ġ: ĠModelMapper < Shopping List With Products Model , ĠShop ping List With Products > Ġ{ ĊĊĠĠĠ Ġoverride Ġfun Ġmap To Model ( domain : ĠShop ping List With Products ): ĠShop ping List With Products Model Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠShop ping List With Products Model ( ĊĠĠĠĠĠĠĠĠĠĠĠ Ġshopping ListModel Mapper . map To Model ( domain . shopping List ), ĊĠĠĠĠĠĠĠĠĠĠĠ Ġproduct Model Mapper . map To Model List ( domain . products ) ĊĠĠĠĠĠĠĠ Ġ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun Ġmap To Domain ( model : ĠShop ping List With Products Model ): ĠShop ping List With Products Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn ĠShop ping List With Products ( ĊĠĠĠĠĠĠĠĠĠĠĠ Ġshopping ListModel Mapper . map To Domain ( model . shopping List ), ĊĠĠĠĠĠĠĠĠĠĠĠ Ġproduct Model Mapper . map To Domain List ( model . products ) ĊĠĠĠĠĠĠĠ Ġ) ĊĠĠĠ Ġ} Ċ }