OfflineAudioContextOptions constructor

OfflineAudioContextOptions({
  1. int? numberOfChannels,
  2. int? length,
  3. double? sampleRate,
})

Implementation

factory OfflineAudioContextOptions(
        {int? numberOfChannels, int? length, double? sampleRate}) =>
    OfflineAudioContextOptions._(
        numberOfChannels: numberOfChannels ?? 1,
        length: length ?? undefined,
        sampleRate: sampleRate ?? undefined);