toEac3AtmosMeteringMode method

Eac3AtmosMeteringMode toEac3AtmosMeteringMode()

Implementation

Eac3AtmosMeteringMode toEac3AtmosMeteringMode() {
  switch (this) {
    case 'LEQ_A':
      return Eac3AtmosMeteringMode.leqA;
    case 'ITU_BS_1770_1':
      return Eac3AtmosMeteringMode.ituBs_1770_1;
    case 'ITU_BS_1770_2':
      return Eac3AtmosMeteringMode.ituBs_1770_2;
    case 'ITU_BS_1770_3':
      return Eac3AtmosMeteringMode.ituBs_1770_3;
    case 'ITU_BS_1770_4':
      return Eac3AtmosMeteringMode.ituBs_1770_4;
  }
  throw Exception('$this is not known in enum Eac3AtmosMeteringMode');
}