toJson method
override
Object to Map serializer
Implementation
@override
Map<String, dynamic> toJson() {
return {
'@type': 'chatBoostStatus',
if (extra != null) '@extra': extra,
'is_boosted': is_boosted,
'level': level,
'boost_count': boost_count,
'current_level_boost_count': current_level_boost_count,
'next_level_boost_count': next_level_boost_count,
'premium_member_count': premium_member_count,
'premium_member_percentage': premium_member_percentage
};
}