toBurninSubtitleAlignment method

BurninSubtitleAlignment toBurninSubtitleAlignment()

Implementation

BurninSubtitleAlignment toBurninSubtitleAlignment() {
  switch (this) {
    case 'CENTERED':
      return BurninSubtitleAlignment.centered;
    case 'LEFT':
      return BurninSubtitleAlignment.left;
  }
  throw Exception('$this is not known in enum BurninSubtitleAlignment');
}