core.Map<core.String, core.dynamic> toJson() => { if (dash != null) 'dash': dash!, if (hls != null) 'hls': hls!, };