toBurninSubtitleBackgroundColor method
Implementation
BurninSubtitleBackgroundColor toBurninSubtitleBackgroundColor() {
switch (this) {
case 'NONE':
return BurninSubtitleBackgroundColor.none;
case 'BLACK':
return BurninSubtitleBackgroundColor.black;
case 'WHITE':
return BurninSubtitleBackgroundColor.white;
}
throw Exception('$this is not known in enum BurninSubtitleBackgroundColor');
}