toMap method
Implementation
Map<String, dynamic> toMap() {
return {
'devicePreview': devicePreview,
'scrollable': scrollable,
'layout': layout.name,
'image': image,
'imageFit': imageFit.name,
'verticalAlignment': verticalAlignment.name,
'horizontalAlignment': horizontalAlignment.name,
'mix': mix,
'codePreview': codePreview,
};
}