package Ġcom . sim top . chart . data . map pers Ċ Ċ import Ġcom . sim top . chart . data . models . market price . Axis Response Ċ import Ġcom . sim top . chart . data . models . market price . Market Price Response Ċ import Ġcom . sim top . chart . domain . models . market price . Axis Model Ċ import Ġcom . sim top . chart . domain . models . market price . Market Price Model Ċ Ċ object ĠMarket Price Mapper Ġ{ ĊĠĠĠ Ġfun Ġfrom Market Price Response To Market Price Model ( response : ĠMarket Price Response ?) Ġ= ĊĠĠĠĠĠĠĠ ĠMarket Price Model ( ĊĠĠĠĠĠĠĠĠĠĠĠ Ġdescription Ġ= Ġresponse ?. description Ġ?: Ġ"", ĊĠĠĠĠĠĠĠĠĠĠĠ Ġname Ġ= Ġresponse ?. name Ġ?: Ġ"", ĊĠĠĠĠĠĠĠĠĠĠĠ Ġperiod Ġ= Ġresponse ?. period Ġ?: Ġ"", ĊĠĠĠĠĠĠĠĠĠĠĠ Ġstatus Ġ= Ġresponse ?. status Ġ?: Ġ"", ĊĠĠĠĠĠĠĠĠĠĠĠ Ġcurrency Ġ= Ġresponse ?. currency Ġ?: Ġ"", ĊĠĠĠĠĠĠĠĠĠĠĠ Ġaxis Ġ= Ġfrom Axis Response To Axis Model ( response ?. axis ) ĊĠĠĠĠĠĠĠ Ġ) ĊĊĠĠĠ Ġprivate Ġfun Ġfrom Axis Response To Axis Model ( response : ĠList < Axis Response > ?) Ġ= ĊĠĠĠĠĠĠĠ Ġresponse ?. map Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ ĠAxis Model ( ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġdate Ġ= Ġit . date Ġ?: Ġ 0 L , ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġprice Ġ= Ġit . price Ġ?: Ġ 0 f ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ) ĊĠĠĠĠĠĠĠ Ġ} Ġ?: Ġempty List () Ċ } ĊĊĊĊ