serialize method
Serializes the tile widget to translatable tile widget to be handled by android.
Implementation
@override
Map<String, Object> serialize() => {
'type': "__decoratedbox",
'decoration': decoration.serialize(),
'child': child.serialize(),
};