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