serialize method
Serializes the tile widget to translatable tile widget to be handled by android.
Implementation
@override
Map<String, Object> serialize() => {
'type': '__primary_layout',
if (body != null) 'body': body!.serialize(),
if (chip != null) 'chip': chip!.serialize(),
if (title != null) 'title': title!.serialize(),
if (subtitle != null) 'subtitle': subtitle!.serialize(),
};