toBurninSubtitleShadowColor method

BurninSubtitleShadowColor toBurninSubtitleShadowColor()

Implementation

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