toEac3DynamicRangeCompressionRf method

Eac3DynamicRangeCompressionRf toEac3DynamicRangeCompressionRf()

Implementation

Eac3DynamicRangeCompressionRf toEac3DynamicRangeCompressionRf() {
  switch (this) {
    case 'NONE':
      return Eac3DynamicRangeCompressionRf.none;
    case 'FILM_STANDARD':
      return Eac3DynamicRangeCompressionRf.filmStandard;
    case 'FILM_LIGHT':
      return Eac3DynamicRangeCompressionRf.filmLight;
    case 'MUSIC_STANDARD':
      return Eac3DynamicRangeCompressionRf.musicStandard;
    case 'MUSIC_LIGHT':
      return Eac3DynamicRangeCompressionRf.musicLight;
    case 'SPEECH':
      return Eac3DynamicRangeCompressionRf.speech;
  }
  throw Exception('$this is not known in enum Eac3DynamicRangeCompressionRf');
}