toTechnicalCueType method

TechnicalCueType toTechnicalCueType()

Implementation

TechnicalCueType toTechnicalCueType() {
  switch (this) {
    case 'ColorBars':
      return TechnicalCueType.colorBars;
    case 'EndCredits':
      return TechnicalCueType.endCredits;
    case 'BlackFrames':
      return TechnicalCueType.blackFrames;
  }
  throw Exception('$this is not known in enum TechnicalCueType');
}