Mp2Settings.fromJson constructor

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

Implementation

factory Mp2Settings.fromJson(Map<String, dynamic> json) {
  return Mp2Settings(
    bitrate: json['bitrate'] as int?,
    channels: json['channels'] as int?,
    sampleRate: json['sampleRate'] as int?,
  );
}