toJson method
override
Object to Map serializer
Implementation
@override
Map<String, dynamic> toJson() {
return {
'@type': 'stickerSetInfo',
if (extra != null) '@extra': extra,
'id': id,
'title': title,
'name': name,
'thumbnail': thumbnail,
'thumbnail_outline': thumbnail_outline,
'is_installed': is_installed,
'is_archived': is_archived,
'is_official': is_official,
'sticker_format': sticker_format,
'sticker_type': sticker_type,
'is_viewed': is_viewed,
'size': size,
'covers': covers
};
}