fileExtension property

String get fileExtension

The filename extension associated with this format.

Implementation

String get fileExtension => switch (this) {
      WaveOutputFormat.vcd => 'vcd',
      WaveOutputFormat.fst => 'fst',
    };