重写将视频源信息转换为JSON映射 返回包含任务类型和URL的Map对象
@override Map<String, dynamic> toJson() { return { 'videoType': videoType.index, 'videoUrl': videoUrl, }; }