A Data Model structure for displaying UI Screens
Image {
id: String?
url: String
assetName: String?
aspectScale: ImageAspectScale
style: Style?
destination: Destination?
type: ViewType = .image
}
{
"url": "(...).png",
"aspectScale": "fill",
"style": {
"isHidden": false,
"height": 320,
"cornerRadius": 0,
"padding": 0
}
}