OscillatorOptions constructor

OscillatorOptions({
  1. num? detune,
  2. num? frequency,
  3. PeriodicWave? periodicWave,
  4. OscillatorType? type,
  5. num? channelCount,
  6. ChannelCountMode? channelCountMode,
  7. ChannelInterpretation? channelInterpretation,
})

Implementation

factory OscillatorOptions({
  _i2.num? detune,
  _i2.num? frequency,
  _i3.PeriodicWave? periodicWave,
  _i3.OscillatorType? type,
  _i2.num? channelCount,
  _i3.ChannelCountMode? channelCountMode,
  _i3.ChannelInterpretation? channelInterpretation,
}) =>
    OscillatorOptions._(
      detune: detune,
      frequency: frequency,
      periodicWave: periodicWave ?? _i6.undefined,
      type: type?.name ?? _i6.undefined,
      channelCount: channelCount,
      channelCountMode: channelCountMode?.name ?? _i6.undefined,
      channelInterpretation: channelInterpretation?.name ?? _i6.undefined,
    );