toMap property
Implementation
Map<String, Object> get toMap {
return {
'mediaContentHeight': mediaContentHeight,
'adTileHeight': adTileHeight,
'adActionHeight': adActionHeight,
'adTileAlignment': () {
switch (adTileAlignment) {
case BoxContentAlignment.top:
return 'top';
case BoxContentAlignment.bottom:
return 'bottom';
}
}(),
};
}