toHlsCaptionLanguageSetting method
Implementation
HlsCaptionLanguageSetting toHlsCaptionLanguageSetting() {
switch (this) {
case 'INSERT':
return HlsCaptionLanguageSetting.insert;
case 'OMIT':
return HlsCaptionLanguageSetting.omit;
case 'NONE':
return HlsCaptionLanguageSetting.none;
}
throw Exception('$this is not known in enum HlsCaptionLanguageSetting');
}