serialize method
Serializes the tile widget to translatable tile widget to be handled by android.
Implementation
@override
Map<String, Object> serialize() => {
"type": "__text",
"text": text,
"align": textAlign.index,
"overflow": overflow.index,
"maxLines": maxLines,
if (style != null) "style": style!.toJson(),
};