toAv1FramerateConversionAlgorithm method

Av1FramerateConversionAlgorithm toAv1FramerateConversionAlgorithm()

Implementation

Av1FramerateConversionAlgorithm toAv1FramerateConversionAlgorithm() {
  switch (this) {
    case 'DUPLICATE_DROP':
      return Av1FramerateConversionAlgorithm.duplicateDrop;
    case 'INTERPOLATE':
      return Av1FramerateConversionAlgorithm.interpolate;
    case 'FRAMEFORMER':
      return Av1FramerateConversionAlgorithm.frameformer;
  }
  throw Exception(
      '$this is not known in enum Av1FramerateConversionAlgorithm');
}