toJson method
override
Object to Map serializer
Implementation
@override
Map<String, dynamic> toJson() {
return {
'@type': 'messageSticker',
if (extra != null) '@extra': extra,
'sticker': sticker,
'is_premium': is_premium
};
}