Mp2Settings.fromJson constructor
Implementation
factory Mp2Settings.fromJson(Map<String, dynamic> json) {
return Mp2Settings(
bitrate: json['bitrate'] as double?,
codingMode: (json['codingMode'] as String?)?.toMp2CodingMode(),
sampleRate: json['sampleRate'] as double?,
);
}