toBurninSubtitleFontColor method
Implementation
BurninSubtitleFontColor toBurninSubtitleFontColor() {
switch (this) {
case 'WHITE':
return BurninSubtitleFontColor.white;
case 'BLACK':
return BurninSubtitleFontColor.black;
case 'YELLOW':
return BurninSubtitleFontColor.yellow;
case 'RED':
return BurninSubtitleFontColor.red;
case 'GREEN':
return BurninSubtitleFontColor.green;
case 'BLUE':
return BurninSubtitleFontColor.blue;
}
throw Exception('$this is not known in enum BurninSubtitleFontColor');
}