WavSettings.fromJson constructor
Implementation
factory WavSettings.fromJson(Map<String, dynamic> json) {
return WavSettings(
bitDepth: json['bitDepth'] as int?,
channels: json['channels'] as int?,
format: (json['format'] as String?)?.toWavFormat(),
sampleRate: json['sampleRate'] as int?,
);
}