VorbisSettings.fromJson constructor

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

Implementation

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