autoTranslate method
Returns this auto-translated to another language. Keeping the same format.
Implementation
ClosedCaptionTrackInfo autoTranslate(String lang) {
return ClosedCaptionTrackInfo(
url.replaceQueryParameters({'tlang': lang}),
Language(lang, lang),
isAutoGenerated: isAutoGenerated,
format: format,
);
}