toJson method
Implementation
@override
Map<String, dynamic> toJson() => <String, dynamic>{
'text': text,
'icon_custom_emoji_id': iconCustomEmojiId.toString(),
'style': style.toJson(),
'type': type.toJson(),
'@type': constructor,
};