value property

String get value

Get the string representation of the audio format

Implementation

String get value {
  switch (this) {
    case AudioFormat.mp3:
      return 'mp3';
    case AudioFormat.wav:
      return 'wav';
    case AudioFormat.ogg:
      return 'ogg';
    case AudioFormat.opus:
      return 'opus';
    case AudioFormat.aac:
      return 'aac';
    case AudioFormat.flac:
      return 'flac';
    case AudioFormat.pcm:
      return 'pcm';
    case AudioFormat.webm:
      return 'webm';
    case AudioFormat.m4a:
      return 'm4a';
  }
}