toH265FramerateConversionAlgorithm method

H265FramerateConversionAlgorithm toH265FramerateConversionAlgorithm()

Implementation

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