Mp2Settings.fromJson constructor

Mp2Settings.fromJson(
  1. Map<String, dynamic> json
)

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?,
  );
}