Map<String, dynamic> toJson() { return { 'text': text, 'sub_text': subText, 'enabled': enabled, 'max_lines': maxLines, }; }