toJson method
Implementation
@override
Map<String, dynamic> toJson() => <String, dynamic>{
'animation': animation?.toJson(),
'thumbnail': thumbnail?.toJson(),
'added_sticker_file_ids': addedStickerFileIds.map((item) => item).toList(),
'duration': duration,
'width': width,
'height': height,
'@type': constructor,
};