toJson method
Implementation
@override
Map<String, dynamic> toJson() => <String, dynamic>{
'min_star_count': minStarCount,
'pin_duration': pinDuration,
'max_text_length': maxTextLength,
'max_custom_emoji_count': maxCustomEmojiCount,
'first_color': firstColor,
'second_color': secondColor,
'background_color': backgroundColor,
'@type': constructor,
};