toJson method
Implementation
@override
Map<String, dynamic> toJson() => <String, dynamic>{
'chat_id': chatId,
'accent_color_id': accentColorId,
'background_custom_emoji_id': backgroundCustomEmojiId.toString(),
'upgraded_gift_colors': upgradedGiftColors?.toJson(),
'profile_accent_color_id': profileAccentColorId,
'profile_background_custom_emoji_id': profileBackgroundCustomEmojiId
.toString(),
'@type': constructor,
};