serialize method
Serializes the tile widget to translatable tile widget to be handled by android.
Implementation
@override
Map<String, Object> serialize() => {
kTileWidgetType: "__row",
kTileWidgetMainAxisAlignment: mainAxisAlignment.index,
kTileWidgetCrossAxisAlignment: crossAxisAlignment.index,
kTileWidgetMainAxisSize: mainAxisSize.index,
kTileWidgetChildren: children.map((e) => e.serialize()).toList(),
};