toEac3CodingMode method

Eac3CodingMode toEac3CodingMode()

Implementation

Eac3CodingMode toEac3CodingMode() {
  switch (this) {
    case 'CODING_MODE_1_0':
      return Eac3CodingMode.codingMode_1_0;
    case 'CODING_MODE_2_0':
      return Eac3CodingMode.codingMode_2_0;
    case 'CODING_MODE_3_2':
      return Eac3CodingMode.codingMode_3_2;
  }
  throw Exception('$this is not known in enum Eac3CodingMode');
}