toJson method
Implementation
@override
Map<String, dynamic> toJson() => <String, dynamic>{
'video': video?.toJson(),
'caption': caption?.toJson(),
'show_caption_above_media': showCaptionAboveMedia,
'self_destruct_type': selfDestructType?.toJson(),
'has_spoiler': hasSpoiler,
'@type': constructor,
};