toEac3DynamicRangeCompressionLine method

Eac3DynamicRangeCompressionLine toEac3DynamicRangeCompressionLine()

Implementation

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