toWavCodingMode method
Implementation
WavCodingMode toWavCodingMode() {
switch (this) {
case 'CODING_MODE_1_0':
return WavCodingMode.codingMode_1_0;
case 'CODING_MODE_2_0':
return WavCodingMode.codingMode_2_0;
case 'CODING_MODE_4_0':
return WavCodingMode.codingMode_4_0;
case 'CODING_MODE_8_0':
return WavCodingMode.codingMode_8_0;
}
throw Exception('$this is not known in enum WavCodingMode');
}